ReplicaDatabaseIgnoreSubscriber::getSubscribedEvents

static ReplicaDatabaseIgnoreSubscriber::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', $priorit

ReplicaDatabaseIgnoreSubscriber::checkReplicaServer

public ReplicaDatabaseIgnoreSubscriber::checkReplicaServer(GetResponseEvent $event) Checks and disables the replica database server if appropriate. Parameters \Symfony\Component\HttpKernel\Event\GetResponseEvent $event: The Event to process. File core/lib/Drupal/Core/EventSubscriber/ReplicaDatabaseIgnoreSubscriber.php, line 21 Class ReplicaDatabaseIgnoreSubscriber System subscriber for controller requests. Namespace Drupal\Core\EventSubscriber Code public function checkReplicaServer(G

ReplicaDatabaseIgnoreSubscriber

System subscriber for controller requests. Hierarchy class \Drupal\Core\EventSubscriber\ReplicaDatabaseIgnoreSubscriber implements EventSubscriberInterface File core/lib/Drupal/Core/EventSubscriber/ReplicaDatabaseIgnoreSubscriber.php, line 13 Namespace Drupal\Core\EventSubscriber Members Name Modifiers Type Description ReplicaDatabaseIgnoreSubscriber::checkReplicaServer public function Checks and disables the replica database server if appropriate. ReplicaDatabaseIgnor

ReplaceTitleCommand::__construct

public ReplaceTitleCommand::__construct($title) Constructs a \Drupal\views\Ajax\ReplaceTitleCommand object. Parameters string $title: The title of the page. File core/modules/views/src/Ajax/ReplaceTitleCommand.php, line 27 Class ReplaceTitleCommand Provides an AJAX command for replacing the page title. Namespace Drupal\views\Ajax Code public function __construct($title) { $this->title = $title; }

ReplaceTitleCommand::render

public ReplaceTitleCommand::render() Return an array to be run through json_encode and sent to the client. Overrides CommandInterface::render File core/modules/views/src/Ajax/ReplaceTitleCommand.php, line 34 Class ReplaceTitleCommand Provides an AJAX command for replacing the page title. Namespace Drupal\views\Ajax Code public function render() { return array( 'command' => 'viewsReplaceTitle', 'selector' => $this->title, ); }

ReplaceTitleCommand::$title

The page title to replace. Type: string File core/modules/views/src/Ajax/ReplaceTitleCommand.php, line 19 Class ReplaceTitleCommand Provides an AJAX command for replacing the page title. Namespace Drupal\views\Ajax Code protected $title;

ReplaceTitleCommand

Provides an AJAX command for replacing the page title. This command is implemented in Drupal.AjaxCommands.prototype.viewsReplaceTitle. Hierarchy class \Drupal\views\Ajax\ReplaceTitleCommand implements CommandInterface File core/modules/views/src/Ajax/ReplaceTitleCommand.php, line 12 Namespace Drupal\views\Ajax Members Name Modifiers Type Description ReplaceTitleCommand::$title protected property The page title to replace. ReplaceTitleCommand::render public function

ReplaceCommand::render

public ReplaceCommand::render() Implements Drupal\Core\Ajax\CommandInterface:render(). Overrides InsertCommand::render File core/lib/Drupal/Core/Ajax/ReplaceCommand.php, line 25 Class ReplaceCommand AJAX command for calling the jQuery replace() method. Namespace Drupal\Core\Ajax Code public function render() { return array( 'command' => 'insert', 'method' => 'replaceWith', 'selector' => $this->selector, 'data' => $this->getRenderedContent(), 'se

ReplaceCommand

AJAX command for calling the jQuery replace() method. The 'insert/replaceWith' command instructs the client to use jQuery's replaceWith() method to replace each element matched by the given selector with the given HTML. This command is implemented by Drupal.AjaxCommands.prototype.insert() defined in misc/ajax.js. See jQuery replaceWith command Hierarchy class \Drupal\Core\Ajax\InsertCommand implements CommandInterface, CommandWithAttachedAssetsInterface uses CommandWithAttachedAssetsTraitclass

ReorderDisplays::submitForm

public ReorderDisplays::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides ViewsFormBase::submitForm File core/modules/views_ui/src/Form/Ajax/ReorderDisplays.php, line 149 Class ReorderDisplays Displays the display reorder form. Namespace Drupal\views_ui\Form\Ajax Code public fun