original_string: protected function evalManageTitle()
      {
          if ($customTitle = $this->getConfig('manage[title]')) {
              return $customTitle;
          }
  
          switch ($this->manageMode) {
              case 'pivot':
              case 'list':
                  if ($this->eventTarget == 'button-link') {
                      return 'backend::lang.relation.link_a_new';
                  }
  
                  return 'backend::lang.relation.add_a_new';
              case 'form':
                  if ($this->readOnly) {
                      return 'backend::lang.relation.preview_name';
                  }
                  elseif ($this->manageId) {
                      return 'backend::lang.relation.update_name';
                  }
                  else {
                      return 'backend::lang.relation.create_name';
                  }
          }
      }
code: protected function evalManageTitle()
      {
          if ($customTitle = $this->getConfig('manage[title]')) {
              return $customTitle;
          }
  
          switch ($this->manageMode) {
              case 'pivot':
              case 'list':
                  if ($this->eventTarget == 'button-link') {
                      return 'backend::lang.relation.link_a_new';
                  }
  
                  return 'backend::lang.relation.add_a_new';
              case 'form':
                  if ($this->readOnly) {
                      return 'backend::lang.relation.preview_name';
                  }
                  elseif ($this->manageId) {
                      return 'backend::lang.relation.update_name';
                  }
                  else {
                      return 'backend::lang.relation.create_name';
                  }
          }
      }
code_tokens: protected function evalManageTitle ( ) { if ( $ customTitle = $ this -> getConfig ( 'manage[title]' ) ) { return $ customTitle ; } switch ( $ this -> manageMode ) { case 'pivot' : case 'list' : if ( $ this -> eventTarget == 'button-link' ) { return 'backend::lang.relation.link_a_new' ; } return 'backend::lang.relation.add_a_new' ; case 'form' : if ( $ this -> readOnly ) { return 'backend::lang.relation.preview_name' ; } elseif ( $ this -> manageId ) { return 'backend::lang.relation.update_name' ; } else { return 'backend::lang.relation.create_name' ; } } }
docstring: Determine the management mode popup title.
  @return string
docstring_tokens: Determine the management mode popup title .