EntityInterface::preDelete

public static EntityInterface::preDelete(EntityStorageInterface $storage, array $entities) Acts on entities before they are deleted and before hooks are invoked. Used before the entities are deleted and before invoking the delete hook. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. \Drupal\Core\Entity\EntityInterface[] $entities: An array of entities. File core/lib/Drupal/Core/Entity/EntityInterface.php, line 366 Class EntityInterface Defines a

ContentTranslationHandler::getFieldDefinitions

public ContentTranslationHandler::getFieldDefinitions() Returns a set of field definitions to be used to store metadata items. Return value \Drupal\Core\Field\FieldDefinitionInterface[] Overrides ContentTranslationHandlerInterface::getFieldDefinitions File core/modules/content_translation/src/ContentTranslationHandler.php, line 110 Class ContentTranslationHandler Base class for content translation handlers. Namespace Drupal\content_translation Code public function getFieldDefinitions(

ConfigEntityBase::$uuid

The UUID for this entity. Type: string File core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 49 Class ConfigEntityBase Defines a base configuration entity class. Namespace Drupal\Core\Config\Entity Code protected $uuid;

BaseFieldDefinition::getMainPropertyName

public BaseFieldDefinition::getMainPropertyName() Returns the name of the main property, if any. Some field items consist mainly of one main property, e.g. the value of a text field or the target_id of an entity reference. If the field item has no main property, the method returns NULL. Return value string|null The name of the value property, or NULL if there is none. Overrides FieldStorageDefinitionInterface::getMainPropertyName File core/lib/Drupal/Core/Field/BaseFieldDefinition.php, line

FormStateInterface::getResponse

public FormStateInterface::getResponse() Gets a response for this form. If a response is set, it will be used during processing and returned directly. The form will not be rebuilt or redirected. Return value \Symfony\Component\HttpFoundation\Response|null The response to return, or NULL. File core/lib/Drupal/Core/Form/FormStateInterface.php, line 115 Class FormStateInterface Provides an interface for an object containing the current state of a form. Namespace Drupal\Core\Form Code pub

FieldItemBase::setValue

public FieldItemBase::setValue($values, $notify = TRUE) Overrides \Drupal\Core\TypedData\TypedData::setValue(). Parameters array|null $values: An array of property values. Overrides Map::setValue File core/lib/Drupal/Core/Field/FieldItemBase.php, line 104 Class FieldItemBase An entity field item. Namespace Drupal\Core\Field Code public function setValue($values, $notify = TRUE) { // Treat the values as property value of the first property, if no array is // given. if (isset($val

MenuLinkManager::getDefinitions

public MenuLinkManager::getDefinitions() Gets the definition of all plugins for this type. Return value mixed[] An array of plugin definitions (empty array if no definitions were found). Keys are plugin IDs. Overrides DiscoveryInterface::getDefinitions File core/lib/Drupal/Core/Menu/MenuLinkManager.php, line 164 Class MenuLinkManager Manages discovery, instantiation, and tree building of menu link plugins. Namespace Drupal\Core\Menu Code public function getDefinitions() { // Since t

TranslationString::$isNew

Boolean indicating whether the string object is new. Type: bool File core/modules/locale/src/TranslationString.php, line 40 Class TranslationString Defines the locale translation string object. Namespace Drupal\locale Code protected $isNew;

DrupalKernel::getServiceProviders

public DrupalKernel::getServiceProviders($origin) Returns all registered service providers. Parameters string $origin: The origin for which to return service providers; one of 'app' or 'site'. Return value array An associative array of ServiceProvider objects, keyed by name. Overrides DrupalKernelInterface::getServiceProviders File core/lib/Drupal/Core/DrupalKernel.php, line 615 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code public

TranslateFormBase::$localeStorage

The locale storage. Type: \Drupal\locale\StringStorageInterface File core/modules/locale/src/Form/TranslateFormBase.php, line 23 Class TranslateFormBase Defines the locale user interface translation form base. Namespace Drupal\locale\Form Code protected $localeStorage;