DefaultMenuLinkTreeManipulators::$queryFactory

The entity query factory. Type: \Drupal\Core\Entity\Query\QueryFactory File core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php, line 40 Class DefaultMenuLinkTreeManipulators Provides a couple of menu link tree manipulators. Namespace Drupal\Core\Menu Code protected $queryFactory;

DefaultMenuLinkTreeManipulators::$account

The current user. Type: \Drupal\Core\Session\AccountInterface File core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php, line 33 Class DefaultMenuLinkTreeManipulators Provides a couple of menu link tree manipulators. Namespace Drupal\Core\Menu Code protected $account;

DefaultMenuLinkTreeManipulators::$accessManager

The access manager. Type: \Drupal\Core\Access\AccessManagerInterface File core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php, line 26 Class DefaultMenuLinkTreeManipulators Provides a couple of menu link tree manipulators. Namespace Drupal\Core\Menu Code protected $accessManager;

DefaultMenuLinkTreeManipulators

Provides a couple of menu link tree manipulators. This class provides menu link tree manipulators to: perform render cached menu-optimized access checking optimized node access checking generate a unique index for the elements in a tree and sorting by it flatten a tree (i.e. a 1-dimensional tree) Hierarchy class \Drupal\Core\Menu\DefaultMenuLinkTreeManipulators File core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php, line 19 Namespace Drupal\Core\Menu Members Name Modif

DefaultLanguageItem::getDefaultLangcode

public DefaultLanguageItem::getDefaultLangcode(EntityInterface $entity) Provides default language code of given entity. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity whose language code to be loaded. Return value string A string language code. File core/modules/language/src/DefaultLanguageItem.php, line 45 Class DefaultLanguageItem Alternative plugin implementation of the 'language' field type. Namespace Drupal\language Code public function getDefaultLangcode(Ent

DefaultLanguageItem::applyDefaultValue

public DefaultLanguageItem::applyDefaultValue($notify = TRUE) Applies the default value. Parameters bool $notify: (optional) Whether to notify the parent object of the change. Defaults to TRUE. If a property is updated from a parent object, set it to FALSE to avoid being notified again. Return value \Drupal\Core\TypedData\TypedDataInterface Returns itself to allow for chaining. Overrides LanguageItem::applyDefaultValue File core/modules/language/src/DefaultLanguageItem.php, line 25 Class

DefaultLanguageItem

Alternative plugin implementation of the 'language' field type. Replaces the Core 'language' entity field type implementation, changes the default values used. Required settings are: target_type: The entity type to reference. Hierarchy class \Drupal\Core\TypedData\TypedData implements PluginInspectionInterface, TypedDataInterface uses StringTranslationTrait, TypedDataTraitclass \Drupal\Core\TypedData\Plugin\DataType\Map implements \IteratorAggregate, ComplexDataInterfaceclass \Drupal\Core\Fi

DefaultHtmlRouteProvider::__construct

public DefaultHtmlRouteProvider::__construct(EntityTypeManagerInterface $entity_type_manager, EntityFieldManagerInterface $entity_field_manager) Constructs a new DefaultHtmlRouteProvider. Parameters \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager. \Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager. File core/lib/Drupal/Core/Entity/Routing/DefaultHtmlRouteProvider.php, line 56 Class DefaultHtmlRoutePro

DefaultHtmlRouteProvider::getRoutes

public DefaultHtmlRouteProvider::getRoutes(EntityTypeInterface $entity_type) Provides routes for entities. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type Return value \Symfony\Component\Routing\RouteCollection|\Symfony\Component\Routing\Route[] Returns a route collection or an array of routes keyed by name, like route_callbacks inside 'routing.yml' files. Overrides EntityRouteProviderInterface::getRoutes File core/lib/Drupal/Core/Entity/Routing/DefaultHtmlRou

DefaultHtmlRouteProvider::getEntityTypeIdKeyType

protected DefaultHtmlRouteProvider::getEntityTypeIdKeyType(EntityTypeInterface $entity_type) Gets the type of the ID key for a given entity type. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: An entity type. Return value string|null The type of the ID key for a given entity type, or NULL if the entity type does not support fields. File core/lib/Drupal/Core/Entity/Routing/DefaultHtmlRouteProvider.php, line 343 Class DefaultHtmlRouteProvider Provides HTML routes for enti