EntityViewsData::createInstance

public static EntityViewsData::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\Dependenc

MenuTreeStorage::doCollectRoutesAndDefinitions

protected MenuTreeStorage::doCollectRoutesAndDefinitions(array $tree, array &$definitions) Collects all the route names and definitions. Parameters array $tree: A menu link tree from MenuTreeStorage::doBuildTreeData() array $definitions: The collected definitions which are populated by reference. Return value array The collected route names. File core/lib/Drupal/Core/Menu/MenuTreeStorage.php, line 988 Class MenuTreeStorage Provides a menu tree storage using the database. Namespace

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;

File::getOwner

public File::getOwner() Returns the entity owner's user entity. Return value \Drupal\user\UserInterface The owner user entity. Overrides EntityOwnerInterface::getOwner File core/modules/file/src/Entity/File.php, line 115 Class File Defines the file entity class. Namespace Drupal\file\Entity Code public function getOwner() { return $this->get('uid')->entity; }

CommentViewBuilder

View builder handler for comments. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityViewBuilder implements EntityHandlerInterface, EntityViewBuilderInterfaceclass \Drupal\comment\CommentViewBuilder File core/modules/comment/src/CommentViewBuilder.php, line 17 Namespace Drupal\comment Members Name Modifiers Type Description CommentViewBuilder::$currentUser protected property Th

entity_get_display

entity_get_display($entity_type, $bundle, $view_mode) Returns the entity view display associated with a bundle and view mode. Use this function when assigning suggested display options for a component in a given view mode. Note that they will only be actually used at render time if the view mode itself is configured to use dedicated display settings for the bundle; if not, the 'default' display is used instead. The function reads the entity view display from the current configuration, or return

MenuLinkContentStorageSchema

Defines the menu_link_content schema handler. Hierarchy class \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema implements DynamicallyFieldableEntityStorageSchemaInterface uses DependencySerializationTraitclass \Drupal\menu_link_content\MenuLinkContentStorageSchema File core/modules/menu_link_content/src/MenuLinkContentStorageSchema.php, line 11 Namespace Drupal\menu_link_content Members Name Modifiers Type Description DependencySerializationTrait::$_serviceIds protecte

Query

Defines the entity query for configuration entities. Hierarchy class \Drupal\Core\Entity\Query\QueryBase implements QueryInterfaceclass \Drupal\Core\Entity\Query\Null\Query implements QueryAggregateInterface, QueryInterface File core/lib/Drupal/Core/Entity/Query/Null/Query.php, line 13 Namespace Drupal\Core\Entity\Query\Null Members Name Modifiers Type Description Query::conditionAggregateGroupFactory public function Creates an object holding a group of conditions. Over

Node access rights

The node access system determines who can do what to which nodes. In determining access rights for a node, \Drupal\node\NodeAccessControlHandler first checks whether the user has the "bypass node access" permission. Such users have unrestricted access to all nodes. user 1 will always pass this check. Next, all implementations of hook_node_access() will be called. Each implementation may explicitly allow, explicitly forbid, or ignore the access request. If at least one module says to forbid the

BigPipeResponse

A response that is sent in chunks by the BigPipe service. Note we cannot use \Symfony\Component\HttpFoundation\StreamedResponse because it makes the content inaccessible (hidden behind a callback), which means no middlewares are able to modify the content anymore. @todo Will become obsolete with https://www.drupal.org/node/2577631 Hierarchy class \Symfony\Component\HttpFoundation\Responseclass \Drupal\Core\Render\HtmlResponse implements CacheableResponseInterface, AttachmentsInterface uses Cach