ListInterface::removeItem

public ListInterface::removeItem($index) Removes the item at the specified position. Parameters int $index: Index of the item to remove. Return value $this File core/lib/Drupal/Core/TypedData/ListInterface.php, line 113 Class ListInterface Interface for a list of typed data. Namespace Drupal\Core\TypedData Code public function removeItem($index);

CsrfRequestHeaderAccessCheck::access

public CsrfRequestHeaderAccessCheck::access(Request $request, AccountInterface $account) Checks access. Parameters \Symfony\Component\HttpFoundation\Request $request: The request object. \Drupal\Core\Session\AccountInterface $account: The currently logged in account. Return value \Drupal\Core\Access\AccessResultInterface The access result. File core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php, line 89 Class CsrfRequestHeaderAccessCheck Access protection against CSRF attacks.

EntityViewsData::processViewsDataForTextLong

protected EntityViewsData::processViewsDataForTextLong($table, FieldDefinitionInterface $field_definition, array &$views_field, $field_column_name) Processes the views data for a text field with formatting. Parameters string $table: The table the field is added to. \Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition. array $views_field: The views field data. string $field_column_name: The field column being processed. File core/modules/views/src/EntityViewsD

CsrfRequestHeaderAccessCheck::TOKEN_KEY

A string key that will used to designate the token used by this class. File core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php, line 18 Class CsrfRequestHeaderAccessCheck Access protection against CSRF attacks. Namespace Drupal\Core\Access Code const TOKEN_KEY = 'X-CSRF-Token request header';

FormValidator::executeValidateHandlers

public FormValidator::executeValidateHandlers(&$form, FormStateInterface &$form_state) Executes custom validation handlers for a given form. Button-specific handlers are checked first. If none exist, the function falls back to form-level handlers. Parameters $form: An associative array containing the structure of the form. $form_state: The current state of the form. If the user submitted the form by clicking a button with custom handler functions defined, those handlers will be stored

ListInterface::appendItem

public ListInterface::appendItem($value = NULL) Appends a new item to the list. Parameters mixed $value: The value of the new item. Return value \Drupal\Core\TypedData\TypedDataInterface The item that was appended. File core/lib/Drupal/Core/TypedData/ListInterface.php, line 103 Class ListInterface Interface for a list of typed data. Namespace Drupal\Core\TypedData Code public function appendItem($value = NULL);

LanguageNegotiator::getPrimaryNegotiationMethod

public LanguageNegotiator::getPrimaryNegotiationMethod($type) Returns the ID of the language type's primary language negotiation method. Parameters string $type: The language type. Return value string The identifier of the primary language negotiation method for the given language type, or the default method if none exists. Overrides LanguageNegotiatorInterface::getPrimaryNegotiationMethod File core/modules/language/src/LanguageNegotiator.php, line 222 Class LanguageNegotiator Class resp

DrupalKernelInterface::getContainer

public DrupalKernelInterface::getContainer() Gets the current container. Return value \Symfony\Component\DependencyInjection\ContainerInterface A ContainerInterface instance. File core/lib/Drupal/Core/DrupalKernelInterface.php, line 54 Class DrupalKernelInterface The interface for DrupalKernel, the core of Drupal. Namespace Drupal\Core Code public function getContainer();

AuthenticationCollector::$globalProviders

List of providers which are allowed on routes with no _auth option. Type: string[] File core/lib/Drupal/Core/Authentication/AuthenticationCollector.php, line 36 Class AuthenticationCollector A collector class for authentication providers. Namespace Drupal\Core\Authentication Code protected $globalProviders;

MemoryBackend::invalidateTags

public MemoryBackend::invalidateTags(array $tags) Marks cache items with any of the specified tags as invalid. Parameters string[] $tags: The list of tags for which to invalidate cache items. Overrides CacheTagsInvalidatorInterface::invalidateTags File core/lib/Drupal/Core/Cache/MemoryBackend.php, line 169 Class MemoryBackend Defines a memory cache implementation. Namespace Drupal\Core\Cache Code public function invalidateTags(array $tags) { foreach ($this->cache as $cid => $i