AliasManager::$cacheKey

The cache key to use when caching paths. Type: string File core/lib/Drupal/Core/Path/AliasManager.php, line 34 Class AliasManager The default alias manager implementation. Namespace Drupal\Core\Path Code protected $cacheKey;

AlertCommand::render

public AlertCommand::render() Implements Drupal\Core\Ajax\CommandInterface:render(). Overrides CommandInterface::render File core/lib/Drupal/Core/Ajax/AlertCommand.php, line 32 Class AlertCommand AJAX command for a javascript alert box. Namespace Drupal\Core\Ajax Code public function render() { return array( 'command' => 'alert', 'text' => $this->text, ); }

AlertCommand::__construct

public AlertCommand::__construct($text) Constructs an AlertCommand object. Parameters string $text: The text to be displayed in the alert box. File core/lib/Drupal/Core/Ajax/AlertCommand.php, line 25 Class AlertCommand AJAX command for a javascript alert box. Namespace Drupal\Core\Ajax Code public function __construct($text) { $this->text = $text; }

AlertCommand

AJAX command for a javascript alert box. Hierarchy class \Drupal\Core\Ajax\AlertCommand implements CommandInterface Related topics Ajax API Overview for Drupal's Ajax API. File core/lib/Drupal/Core/Ajax/AlertCommand.php, line 10 Namespace Drupal\Core\Ajax Members Name Modifiers Type Description AlertCommand::$text protected property The text to be displayed in the alert box. AlertCommand::render public function Implements Drupal\Core\Ajax\CommandInterface:rende

AlertCommand::$text

The text to be displayed in the alert box. Type: string File core/lib/Drupal/Core/Ajax/AlertCommand.php, line 17 Class AlertCommand AJAX command for a javascript alert box. Namespace Drupal\Core\Ajax Code protected $text;

AjaxResponseSubscriber::getSubscribedEvents

public static AjaxResponseSubscriber::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)

AjaxResponseSubscriber::onResponse

public AjaxResponseSubscriber::onResponse(FilterResponseEvent $event) Renders the ajax commands right before preparing the result. Parameters \Symfony\Component\HttpKernel\Event\FilterResponseEvent $event: The response event, which contains the possible AjaxResponse object. File core/lib/Drupal/Core/EventSubscriber/AjaxResponseSubscriber.php, line 59 Class AjaxResponseSubscriber Response subscriber to handle AJAX responses. Namespace Drupal\Core\EventSubscriber Code public function on

AjaxResponseSubscriber::$ajaxResponseAttachmentsProcessor

The AJAX response attachments processor service. Type: \Drupal\Core\Render\AttachmentsResponseProcessorInterface File core/lib/Drupal/Core/EventSubscriber/AjaxResponseSubscriber.php, line 23 Class AjaxResponseSubscriber Response subscriber to handle AJAX responses. Namespace Drupal\Core\EventSubscriber Code protected $ajaxResponseAttachmentsProcessor;

AjaxResponseSubscriber::AJAX_REQUEST_PARAMETER

Request parameter to indicate that a request is a Drupal Ajax request. File core/lib/Drupal/Core/EventSubscriber/AjaxResponseSubscriber.php, line 38 Class AjaxResponseSubscriber Response subscriber to handle AJAX responses. Namespace Drupal\Core\EventSubscriber Code const AJAX_REQUEST_PARAMETER = '_drupal_ajax';

AjaxResponseSubscriber::__construct

public AjaxResponseSubscriber::__construct(AttachmentsResponseProcessorInterface $ajax_response_attachments_processor) Constructs an AjaxResponseSubscriber object. Parameters \Drupal\Core\Render\AttachmentsResponseProcessorInterface $ajax_response_attachments_processor: The AJAX response attachments processor service. File core/lib/Drupal/Core/EventSubscriber/AjaxResponseSubscriber.php, line 31 Class AjaxResponseSubscriber Response subscriber to handle AJAX responses. Namespace Drupal\