ChangedFieldItemList

Defines a item list class for changed fields. Hierarchy class \Drupal\Core\TypedData\TypedData implements PluginInspectionInterface, TypedDataInterface uses StringTranslationTrait, TypedDataTraitclass \Drupal\Core\TypedData\Plugin\DataType\ItemList implements \IteratorAggregate, ListInterfaceclass \Drupal\Core\Field\FieldItemList implements FieldItemListInterfaceclass \Drupal\Core\Field\ChangedFieldItemList File core/lib/Drupal/Core/Field/ChangedFieldItemList.php, line 11 Namespace Dr

ChangedCommand::__construct

public ChangedCommand::__construct($selector, $asterisk = '') Constructs a ChangedCommand object. Parameters string $selector: CSS selector for elements to be marked as changed. string $asterisk: CSS selector for elements to which an asterisk will be appended. File core/lib/Drupal/Core/Ajax/ChangedCommand.php, line 43 Class ChangedCommand An AJAX command for marking HTML elements as changed. Namespace Drupal\Core\Ajax Code public function __construct($selector, $asterisk = '') { $th

ChangedCommand::render

public ChangedCommand::render() Implements Drupal\Core\Ajax\CommandInterface:render(). Overrides CommandInterface::render File core/lib/Drupal/Core/Ajax/ChangedCommand.php, line 51 Class ChangedCommand An AJAX command for marking HTML elements as changed. Namespace Drupal\Core\Ajax Code public function render() { return array( 'command' => 'changed', 'selector' => $this->selector, 'asterisk' => $this->asterisk, ); }

ChainResponsePolicyInterface::addPolicy

public ChainResponsePolicyInterface::addPolicy(ResponsePolicyInterface $policy) Add a policy to the list of policy rules. Parameters \Drupal\Core\PageCache\ResponsePolicyInterface $policy: The request policy rule to add. Return value $this File core/lib/Drupal/Core/PageCache/ChainResponsePolicyInterface.php, line 18 Class ChainResponsePolicyInterface Defines the interface for compound request policies. Namespace Drupal\Core\PageCache Code public function addPolicy(ResponsePolicyInter

ChainResponsePolicy::check

public ChainResponsePolicy::check(Response $response, Request $request) Determines whether it is save to store a page in the cache. Parameters \Symfony\Component\HttpFoundation\Response $response: The response which is about to be sent to the client. \Symfony\Component\HttpFoundation\Request $request: The request object. Return value string|null Either static::DENY or NULL. Calling code may attempt to store a page in the cache unless static::DENY is returned. Returns NULL if the policy policy

ChainResponsePolicyInterface

Defines the interface for compound request policies. Hierarchy interface \Drupal\Core\PageCache\ResponsePolicyInterfaceinterface \Drupal\Core\PageCache\ChainResponsePolicyInterface File core/lib/Drupal/Core/PageCache/ChainResponsePolicyInterface.php, line 8 Namespace Drupal\Core\PageCache Members Name Modifiers Type Description ChainResponsePolicyInterface::addPolicy public function Add a policy to the list of policy rules. ResponsePolicyInterface::check public fu

ChangedCommand

An AJAX command for marking HTML elements as changed. This command instructs the client to mark each of the elements matched by the given selector as 'ajax-changed'. This command is implemented by Drupal.AjaxCommands.prototype.changed() defined in misc/ajax.js. Hierarchy class \Drupal\Core\Ajax\ChangedCommand implements CommandInterface Related topics Ajax API Overview for Drupal's Ajax API. File core/lib/Drupal/Core/Ajax/ChangedCommand.php, line 16 Namespace Drupal\Core\Ajax Members

ChangedCommand::$selector

A CSS selector string. If the command is a response to a request from an #ajax form element then this value can be NULL. Type: string File core/lib/Drupal/Core/Ajax/ChangedCommand.php, line 26 Class ChangedCommand An AJAX command for marking HTML elements as changed. Namespace Drupal\Core\Ajax Code protected $selector;

ChangedCommand::$asterisk

An optional CSS selector for elements to which asterisks will be appended. Type: string File core/lib/Drupal/Core/Ajax/ChangedCommand.php, line 33 Class ChangedCommand An AJAX command for marking HTML elements as changed. Namespace Drupal\Core\Ajax Code protected $asterisk;

ChainResponsePolicy::addPolicy

public ChainResponsePolicy::addPolicy(ResponsePolicyInterface $policy) Add a policy to the list of policy rules. Parameters \Drupal\Core\PageCache\ResponsePolicyInterface $policy: The request policy rule to add. Return value $this Overrides ChainResponsePolicyInterface::addPolicy File core/lib/Drupal/Core/PageCache/ChainResponsePolicy.php, line 47 Class ChainResponsePolicy Implements a compound response policy. Namespace Drupal\Core\PageCache Code public function addPolicy(ResponsePo