KeyValueMemoryFactory

Defines the key/value store factory for the memory backend. Hierarchy class \Drupal\Core\KeyValueStore\KeyValueMemoryFactory implements KeyValueFactoryInterface File core/lib/Drupal/Core/KeyValueStore/KeyValueMemoryFactory.php, line 8 Namespace Drupal\Core\KeyValueStore Members Name Modifiers Type Description KeyValueMemoryFactory::$collections protected property An array of keyvalue collections that are stored in memory. KeyValueMemoryFactory::get public function

BigPipeResponseAttachmentsProcessor

Processes attachments of HTML responses with BigPipe enabled. Hierarchy class \Drupal\Core\Render\HtmlResponseAttachmentsProcessor implements AttachmentsResponseProcessorInterfaceclass \Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor See also \Drupal\Core\Render\HtmlResponseAttachmentsProcessor \Drupal\big_pipe\Render\BigPipeInterface File core/modules/big_pipe/src/Render/BigPipeResponseAttachmentsProcessor.php, line 22 Namespace Drupal\big_pipe\Render Members Name Modi

NodeType::getDescription

public NodeType::getDescription() Gets the description. Return value string The description of this node type. Overrides NodeTypeInterface::getDescription File core/modules/node/src/Entity/NodeType.php, line 169 Class NodeType Defines the Node type configuration entity. Namespace Drupal\node\Entity Code public function getDescription() { return $this->description; }

StorageComparer::$targetCacheStorage

A memory cache backend to statically cache target configuration data. Type: \Drupal\Core\Cache\MemoryBackend File core/lib/Drupal/Core/Config/StorageComparer.php, line 89 Class StorageComparer Defines a config storage comparer. Namespace Drupal\Core\Config Code protected $targetCacheStorage;

user_help

user_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/user/user.module, line 53 Enables the user registration and login system. Code function user_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.user': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The User module allows users to register, log in, and log out. It also allows users w

PoStreamReader::setItemFromArray

public PoStreamReader::setItemFromArray($value) Store the parsed values as a PoItem object. File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 514 Class PoStreamReader Implements Gettext PO stream reader. Namespace Drupal\Component\Gettext Code public function setItemFromArray($value) { $plural = FALSE; $comments = ''; if (isset($value['#'])) { $comments = $this->shortenComments($value['#']); } if (is_array($value['msgstr'])) { // Sort plural variant

PasswordConfirm::valueCallback

public static PasswordConfirm::valueCallback(&$element, $input, FormStateInterface $form_state) Determines how user input is mapped to an element's #value property. Parameters array $element: An associative array containing the properties of the element. mixed $input: The incoming input to populate the form element. If this is FALSE, the element's default value should be returned. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value mixed The value

FieldItemInterface::fieldSettingsForm

public FieldItemInterface::fieldSettingsForm(array $form, FormStateInterface $form_state) Returns a form for the field-level settings. Invoked from \Drupal\field_ui\Form\FieldConfigEditForm to allow administrators to configure field-level settings. Parameters array $form: The form where the settings form is being included in. \Drupal\Core\Form\FormStateInterface $form_state: The form state of the (entire) configuration form. Return value array The form definition for the field settings. File

MenuLinkBase::getCacheTags

public MenuLinkBase::getCacheTags() The cache tags associated with this object. When this object is modified, these cache tags will be invalidated. Return value string[] A set of cache tags. Overrides CacheableDependencyInterface::getCacheTags File core/lib/Drupal/Core/Menu/MenuLinkBase.php, line 187 Class MenuLinkBase Defines a base menu link class. Namespace Drupal\Core\Menu Code public function getCacheTags() { return []; }

BackendChain::appendBackend

public BackendChain::appendBackend(CacheBackendInterface $backend) Appends a cache backend to the cache chain. Parameters CacheBackendInterface $backend: The cache backend to be appended to the cache chain. Return value \Drupal\Core\Cache\BackendChain The called object. File core/lib/Drupal/Core/Cache/BackendChain.php, line 49 Class BackendChain Defines a chained cache implementation for combining multiple cache backends. Namespace Drupal\Core\Cache Code public function appendBackend