TypeLinkManager::getTypes

protected TypeLinkManager::getTypes($context = array()) Get the array of type links. Parameters array $context: Context from the normalizer/serializer operation. Return value array An array of typed data ids (entity_type and bundle) keyed by corresponding type URI. File core/modules/rest/src/LinkManager/TypeLinkManager.php, line 99 Class TypeLinkManager Namespace Drupal\rest\LinkManager Code protected function getTypes($context = array()) { $cid = 'rest:links:types'; $cache = $t

TypeLinkManager::getTypeInternalIds

public TypeLinkManager::getTypeInternalIds($type_uri, $context = array()) Get a bundle's Typed Data IDs based on a URI. Parameters string $type_uri: The type URI. array $context: Context from the normalizer/serializer operation. Return value array | boolean If the URI matches a bundle, returns an array containing entity_type and bundle. Otherwise, returns false. Overrides TypeLinkManagerInterface::getTypeInternalIds File core/modules/rest/src/LinkManager/TypeLinkManager.php, line 81 Class

TypeLinkManager::$moduleHandler

Module handler service. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/modules/rest/src/LinkManager/TypeLinkManager.php, line 26 Class TypeLinkManager Namespace Drupal\rest\LinkManager Code protected $moduleHandler;

TypeLinkManager::$cache

Injected cache backend. Type: \Drupal\Core\Cache\CacheBackendInterface; File core/modules/rest/src/LinkManager/TypeLinkManager.php, line 19 Class TypeLinkManager Namespace Drupal\rest\LinkManager Code protected $cache;

TypeLinkManager::$bundleInfoService

The bundle info service. Type: \Drupal\Core\Entity\EntityTypeBundleInfoInterface File core/modules/rest/src/LinkManager/TypeLinkManager.php, line 33 Class TypeLinkManager Namespace Drupal\rest\LinkManager Code protected $bundleInfoService;

TypeLinkManager

Hierarchy class \Drupal\rest\LinkManager\LinkManagerBaseclass \Drupal\rest\LinkManager\TypeLinkManager implements TypeLinkManagerInterface File core/modules/rest/src/LinkManager/TypeLinkManager.php, line 12 Namespace Drupal\rest\LinkManager Members Name Modifiers Type Description LinkManagerBase::$configFactory protected property Config factory service. LinkManagerBase::$linkDomain protected property Link domain used for type links URIs. LinkManagerBase::$requ

TypedDataTrait::setTypedDataManager

public TypedDataTrait::setTypedDataManager(TypedDataManagerInterface $typed_data_manager) Sets the typed data manager. Parameters \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager: The typed data manager. Return value $this File core/lib/Drupal/Core/TypedData/TypedDataTrait.php, line 25 Class TypedDataTrait Wrapper methods for classes that needs typed data manager object. Namespace Drupal\Core\TypedData Code public function setTypedDataManager(TypedDataManagerInter

TypedDataTrait::getTypedDataManager

public TypedDataTrait::getTypedDataManager() Gets the typed data manager. Return value \Drupal\Core\TypedData\TypedDataManagerInterface The typed data manager. File core/lib/Drupal/Core/TypedData/TypedDataTrait.php, line 36 Class TypedDataTrait Wrapper methods for classes that needs typed data manager object. Namespace Drupal\Core\TypedData Code public function getTypedDataManager() { if (empty($this->typedDataManager)) { $this->typedDataManager = \Drupal::typedDataManager

TypedDataTrait::$typedDataManager

The typed data manager used for creating the data types. Type: \Drupal\Core\TypedData\TypedDataManagerInterface File core/lib/Drupal/Core/TypedData/TypedDataTrait.php, line 15 Class TypedDataTrait Wrapper methods for classes that needs typed data manager object. Namespace Drupal\Core\TypedData Code protected $typedDataManager;

TypedDataTrait

Wrapper methods for classes that needs typed data manager object. Hierarchy trait \Drupal\Core\TypedData\TypedDataTrait File core/lib/Drupal/Core/TypedData/TypedDataTrait.php, line 8 Namespace Drupal\Core\TypedData Members Name Modifiers Type Description TypedDataTrait::$typedDataManager protected property The typed data manager used for creating the data types. TypedDataTrait::getTypedDataManager public function Gets the typed data manager. TypedDataTrait::set