EntityTypeInterface::getBaseTable

public EntityTypeInterface::getBaseTable() Gets the name of the entity's base table. @todo Used by SqlContentEntityStorage only. Return value string|null The name of the entity's base table, or NULL if none exists. File core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 564 Class EntityTypeInterface Provides an interface for an entity type and its metadata. Namespace Drupal\Core\Entity Code public function getBaseTable();

CacheBackendInterface::delete

public CacheBackendInterface::delete($cid) Deletes an item from the cache. If the cache item is being deleted because it is no longer "fresh", you may consider using invalidate() instead. This allows callers to retrieve the invalid item by calling get() with $allow_invalid set to TRUE. In some cases an invalid item may be acceptable rather than having to rebuild the cache. Parameters string $cid: The cache ID to delete. See also \Drupal\Core\Cache\CacheBackendInterface::invalidate() \Drupal\C

SystemManager::$moduleHandler

Module handler service. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/modules/system/src/SystemManager.php, line 23 Class SystemManager System Manager Service. Namespace Drupal\system Code protected $moduleHandler;

SqlContentEntityStorageSchema::__construct

public SqlContentEntityStorageSchema::__construct(EntityManagerInterface $entity_manager, ContentEntityTypeInterface $entity_type, SqlContentEntityStorage $storage, Connection $database) Constructs a SqlContentEntityStorageSchema. Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager. \Drupal\Core\Entity\ContentEntityTypeInterface $entity_type: The entity type. \Drupal\Core\Entity\Sql\SqlContentEntityStorage $storage: The storage of the entity type. This mus

UserSession::id

public UserSession::id() Returns the user ID or 0 for anonymous. Return value int The user ID. Overrides AccountInterface::id File core/lib/Drupal/Core/Session/UserSession.php, line 85 Class UserSession An implementation of the user account interface for the global user. Namespace Drupal\Core\Session Code public function id() { return $this->uid; }

content_moderation_entity_operation

content_moderation_entity_operation(EntityInterface $entity) Implements hook_entity_operation(). File core/modules/content_moderation/content_moderation.module, line 69 Contains content_moderation.module. Code function content_moderation_entity_operation(EntityInterface $entity) { return \Drupal::service('class_resolver') ->getInstanceFromDefinition(EntityTypeInfo::class) ->entityOperation($entity); }

NodeAccessControlHandlerInterface::writeDefaultGrant

public NodeAccessControlHandlerInterface::writeDefaultGrant() Creates the default node access grant entry on the grant storage. File core/modules/node/src/NodeAccessControlHandlerInterface.php, line 55 Class NodeAccessControlHandlerInterface Node specific entity access control methods. Namespace Drupal\node Code public function writeDefaultGrant();

content_moderation_entity_presave

content_moderation_entity_presave(EntityInterface $entity) Implements hook_entity_presave(). File core/modules/content_moderation/content_moderation.module, line 87 Contains content_moderation.module. Code function content_moderation_entity_presave(EntityInterface $entity) { return \Drupal::service('class_resolver') ->getInstanceFromDefinition(EntityOperations::class) ->entityPresave($entity); }

SubformStateInterface::getCompleteFormState

public SubformStateInterface::getCompleteFormState() Gets the complete form state. Return value \Drupal\Core\Form\FormStateInterface File core/lib/Drupal/Core/Form/SubformStateInterface.php, line 49 Class SubformStateInterface Stores information about the state of a subform. Namespace Drupal\Core\Form Code public function getCompleteFormState();

StatementPrefetch::fetchCol

public StatementPrefetch::fetchCol($index = 0) Returns an entire single column of a result set as an indexed array. Note that this method will run the result set to the end. Parameters $index: The index of the column number to fetch. Return value An indexed array, or an empty array if there is no result set. Overrides StatementInterface::fetchCol File core/lib/Drupal/Core/Database/StatementPrefetch.php, line 481 Class StatementPrefetch An implementation of StatementInterface that prefetc