SetDialogOptionCommand::$optionName

A jQuery UI dialog option name. Type: string File core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php, line 24 Class SetDialogOptionCommand Defines an AJAX command that sets jQuery UI dialog properties. Namespace Drupal\Core\Ajax Code protected $optionName;

SetDialogOptionCommand::render

public SetDialogOptionCommand::render() Return an array to be run through json_encode and sent to the client. Overrides CommandInterface::render File core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php, line 54 Class SetDialogOptionCommand Defines an AJAX command that sets jQuery UI dialog properties. Namespace Drupal\Core\Ajax Code public function render() { return array( 'command' => 'setDialogOption', 'selector' => $this->selector, 'optionName' => $this-&g

SetCustomize::form

public SetCustomize::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides EntityForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/shortcut/src/Form/SetCustomize.php, line 24 Class SetCustomize Builds the shortcut set customize form. Namespace Drupal\shortcut\Form Code public function form(array $form, FormStateInterface $form_state) { $form = parent::form($fo

SetCustomize::actions

protected SetCustomize::actions(array $form, FormStateInterface $form_state) Returns an array of supported actions for the current entity form. @todo Consider introducing a 'preview' action here, since it is used by many entity types. Overrides EntityForm::actions File core/modules/shortcut/src/Form/SetCustomize.php, line 86 Class SetCustomize Builds the shortcut set customize form. Namespace Drupal\shortcut\Form Code protected function actions(array $form, FormStateInterface $form_sta

SetCustomize::$entity

The entity being used by this form. Type: \Drupal\shortcut\ShortcutSetInterface Overrides EntityForm::$entity File core/modules/shortcut/src/Form/SetCustomize.php, line 19 Class SetCustomize Builds the shortcut set customize form. Namespace Drupal\shortcut\Form Code protected $entity;

SetCustomize::save

public SetCustomize::save(array $form, FormStateInterface $form_state) Form submission handler for the 'save' action. Normally this method should be overridden to provide specific messages to the user and redirect the form after the entity has been saved. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value int Either SAVED_NEW or SAVED_UPDATED, depending on the operatio

SetDialogOptionCommand

Defines an AJAX command that sets jQuery UI dialog properties. Hierarchy class \Drupal\Core\Ajax\SetDialogOptionCommand implements CommandInterface Related topics Ajax API Overview for Drupal's Ajax API. File core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php, line 10 Namespace Drupal\Core\Ajax Members Name Modifiers Type Description SetDialogOptionCommand::$optionName protected property A jQuery UI dialog option name. SetDialogOptionCommand::$optionValue protect

SetCustomize

Builds the shortcut set customize form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\shortcut\Form\SetCustomize File core/modules/shortcut/src/Form/SetCustomize.php, line 12 Namespace Drupal\shortcut\Form Members

SessionManagerInterface::delete

public SessionManagerInterface::delete($uid) Ends a specific user's session(s). Parameters int $uid: User ID. File core/lib/Drupal/Core/Session/SessionManagerInterface.php, line 18 Class SessionManagerInterface Defines the session manager interface. Namespace Drupal\Core\Session Code public function delete($uid);

SessionManager::__construct

public SessionManager::__construct(RequestStack $request_stack, Connection $connection, MetadataBag $metadata_bag, SessionConfigurationInterface $session_configuration, $handler = NULL) Constructs a new session manager instance. Parameters \Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack. \Drupal\Core\Database\Connection $connection: The database connection. \Drupal\Core\Session\MetadataBag $metadata_bag: The session metadata bag. \Drupal\Core\Session\SessionCon