LinkManager::getTypeInternalIds

public LinkManager::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/LinkManager.php, line 44 Class LinkMan

LinkManager::getRelationUri

public LinkManager::getRelationUri($entity_type, $bundle, $field_name, $context = array()) Gets the URI that corresponds to a field. When using hypermedia formats, this URI can be used to indicate which field the data represents. Documentation about this field can also be provided at this URI. Parameters string $entity_type: The bundle's entity type. string $bundle: The bundle name. string $field_name: The field name. array $context: (optional) Optional serializer/normalizer context. Return va

LinkManager::getRelationInternalIds

public LinkManager::getRelationInternalIds($relation_uri) Translates a REST URI into internal IDs. Parameters string $relation_uri: Relation URI to transform into internal IDs Return value array Array with keys 'entity_type', 'bundle' and 'field_name'. Overrides RelationLinkManagerInterface::getRelationInternalIds File core/modules/rest/src/LinkManager/LinkManager.php, line 58 Class LinkManager Namespace Drupal\rest\LinkManager Code public function getRelationInternalIds($relation_u

LinkManager::$typeLinkManager

The type link manager. Type: \Drupal\rest\LinkManager\TypeLinkManagerInterface File core/modules/rest/src/LinkManager/LinkManager.php, line 12 Class LinkManager Namespace Drupal\rest\LinkManager Code protected $typeLinkManager;

LinkManager::$relationLinkManager

The relation link manager. Type: \Drupal\rest\LinkManager\RelationLinkManagerInterface File core/modules/rest/src/LinkManager/LinkManager.php, line 19 Class LinkManager Namespace Drupal\rest\LinkManager Code protected $relationLinkManager;

LinkManager

Hierarchy class \Drupal\rest\LinkManager\LinkManager implements LinkManagerInterface File core/modules/rest/src/LinkManager/LinkManager.php, line 5 Namespace Drupal\rest\LinkManager Members Name Modifiers Type Description LinkManager::$relationLinkManager protected property The relation link manager. LinkManager::$typeLinkManager protected property The type link manager. LinkManager::getRelationInternalIds public function Translates a REST URI into intern

LinkItemInterface::LINK_INTERNAL

Specifies whether the field supports only internal URLs. File core/modules/link/src/LinkItemInterface.php, line 15 Class LinkItemInterface Defines an interface for the link field item. Namespace Drupal\link Code const LINK_INTERNAL = 0x01;

LinkItemInterface::LINK_GENERIC

Specifies whether the field supports both internal and external URLs. File core/modules/link/src/LinkItemInterface.php, line 25 Class LinkItemInterface Defines an interface for the link field item. Namespace Drupal\link Code const LINK_GENERIC = 0x11;

LinkItemInterface::LINK_EXTERNAL

Specifies whether the field supports only external URLs. File core/modules/link/src/LinkItemInterface.php, line 20 Class LinkItemInterface Defines an interface for the link field item. Namespace Drupal\link Code const LINK_EXTERNAL = 0x10;

LinkItemInterface::isExternal

public LinkItemInterface::isExternal() Determines if a link is external. Return value bool TRUE if the link is external, FALSE otherwise. File core/modules/link/src/LinkItemInterface.php, line 33 Class LinkItemInterface Defines an interface for the link field item. Namespace Drupal\link Code public function isExternal();