InvokeCommand::$arguments

An optional list of arguments to pass to the method. Type: array File core/lib/Drupal/Core/Ajax/InvokeCommand.php, line 42 Class InvokeCommand AJAX command for invoking an arbitrary jQuery method. Namespace Drupal\Core\Ajax Code protected $arguments;

MenuRouterRebuildSubscriber::$lock

Type: \Drupal\Core\Lock\LockBackendInterface File core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php, line 20 Class MenuRouterRebuildSubscriber Rebuilds the default menu links and runs menu-specific code if necessary. Namespace Drupal\Core\EventSubscriber Code protected $lock;

hook_field_storage_config_update_forbid

hook_field_storage_config_update_forbid(\Drupal\field\FieldStorageConfigInterface $field_storage, \Drupal\field\FieldStorageConfigInterface $prior_field_storage) Forbid a field storage update from occurring. Any module may forbid any update for any reason. For example, the field's storage module might forbid an update if it would change the storage schema while data for the field exists. A field type module might forbid an update if it would change existing data's semantics, or if there are ext

AttributeArray::offsetUnset

public AttributeArray::offsetUnset($offset) File core/lib/Drupal/Core/Template/AttributeArray.php, line 57 Class AttributeArray A class that defines a type of Attribute that can be added to as an array. Namespace Drupal\Core\Template Code public function offsetUnset($offset) { unset($this->value[$offset]); }

FieldItemList::postSave

public FieldItemList::postSave($update) Defines custom post-save behavior for field values. This method is called during the process of saving an entity, just after item values are written into storage. Parameters bool $update: Specifies whether the entity is being updated or created. Return value bool Whether field items should be rewritten to the storage as a consequence of the logic implemented by the custom behavior. Overrides FieldItemListInterface::postSave See also \Drupal\Core\Field\

ConfigSingleImportForm::$entityManager

The entity manager. Type: \Drupal\Core\Entity\EntityManagerInterface File core/modules/config/src/Form/ConfigSingleImportForm.php, line 36 Class ConfigSingleImportForm Provides a form for importing a single configuration file. Namespace Drupal\config\Form Code protected $entityManager;

SAVED_UPDATED

Return status for saving which involved an update to an existing item. File core/includes/common.inc, line 64 Common functions that many Drupal modules will need to reference. Code const SAVED_UPDATED = 2;

Cache API

Information about the Drupal Cache API Basics Note: If not specified, all of the methods mentioned here belong to \Drupal\Core\Cache\CacheBackendInterface. The Cache API is used to store data that takes a long time to compute. Caching can either be permanent or valid only for a certain timespan, and the cache can contain any type of data. To use the Cache API: Request a cache object through \Drupal::cache() or by injecting a cache service. Define a Cache ID (cid) value for your data. A cid is a

EntityAccessControlHandler::$entityType

Information about the entity type. Type: \Drupal\Core\Entity\EntityTypeInterface File core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php, line 35 Class EntityAccessControlHandler Defines a default implementation for entity access control handler. Namespace Drupal\Core\Entity Code protected $entityType;

TypedDataInterface::getPropertyPath

public TypedDataInterface::getPropertyPath() Returns the property path of the data. The trail of property names relative to the root of the typed data tree, separated by dots; e.g. 'field_text.0.format'. Return value string The property path relative to the root of the typed tree, or an empty string if this is the root. File core/lib/Drupal/Core/TypedData/TypedDataInterface.php, line 145 Class TypedDataInterface Interface for typed data objects. Namespace Drupal\Core\TypedData Code pu