options_field_storage_config_update

options_field_storage_config_update(FieldStorageConfigInterface $field_storage) Implements hook_ENTITY_TYPE_update() for 'field_storage_config'. File core/modules/options/options.module, line 39 Defines selection, check box and radio button widgets for text and numeric fields. Code function options_field_storage_config_update(FieldStorageConfigInterface $field_storage) { drupal_static_reset('options_allowed_values'); }

options_help

options_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/options/options.module, line 17 Defines selection, check box and radio button widgets for text and numeric fields. Code function options_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.options': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The Options module allows you to cr

Tar

Defines a archiver implementation for .tar files. Hierarchy class \Drupal\Core\Archiver\Tar implements ArchiverInterface File core/lib/Drupal/Core/Archiver/Tar.php, line 8 Namespace Drupal\Core\Archiver Members Name Modifiers Type Description Tar::$tar protected property The underlying ArchiveTar instance that does the heavy lifting. Tar::add public function Adds the specified file or directory to the archive. Overrides ArchiverInterface::add Tar::extract pub

MenuLinkContent::preCreate

public static MenuLinkContent::preCreate(EntityStorageInterface $storage, array &$values) Changes the values of an entity before it is created. Load defaults for example. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. mixed[] $values: An array of values to set, keyed by property name. If the entity type has bundles the bundle key has to be specified. Overrides Entity::preCreate File core/modules/menu_link_content/src/Entity/MenuLinkContent.php, l

BaseFieldOverrideStorage::createInstance

public static BaseFieldOverrideStorage::createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) Instantiates a new instance of this entity handler. This is a factory method that returns a new instance of this object. The factory should pass any needed dependencies into the constructor of this object, but not the container itself. Every call to this method must return a new instance of this object; that is, it may not implement a singleton. Parameters \Symfony\Component\

RestResource::$label

The human-readable name of the resource plugin. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/rest/src/Annotation/RestResource.php, line 39 Class RestResource Defines a REST resource annotation object. Namespace Drupal\rest\Annotation Code public $label;

EntityType::$revision_table

The name of the entity type's revision table. Type: string|null File core/lib/Drupal/Core/Entity/EntityType.php, line 161 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code protected $revision_table = NULL;

ViewUI::addCacheableDependency

public ViewUI::addCacheableDependency($other_object) Adds a dependency on an object: merges its cacheability metadata. Parameters \Drupal\Core\Cache\CacheableDependencyInterface|object $other_object: The dependency. If the object implements CacheableDependencyInterface, then its cacheability metadata will be used. Otherwise, the passed in object must be assumed to be uncacheable, so max-age 0 is set. Return value $this Overrides RefinableCacheableDependencyInterface::addCacheableDependency Se

UserSession::getRoles

public UserSession::getRoles($exclude_locked_roles = FALSE) Returns a list of roles. Parameters bool $exclude_locked_roles: (optional) If TRUE, locked roles (anonymous/authenticated) are not returned. Return value array List of role IDs. Overrides AccountInterface::getRoles File core/lib/Drupal/Core/Session/UserSession.php, line 92 Class UserSession An implementation of the user account interface for the global user. Namespace Drupal\Core\Session Code public function getRoles($exclud

SystemMenuOffCanvasForm::$entityTypeManager

Type: \Drupal\Core\Entity\EntityTypeManagerInterface File core/modules/outside_in/src/Form/SystemMenuOffCanvasForm.php, line 48 Class SystemMenuOffCanvasForm The off-canvas form handler for the SystemMenuBlock. Namespace Drupal\outside_in\Form Code protected $entityTypeManager;