function TypeLinkManager::getTypeInternalIds
Same name in other branches
- 9 core/modules/hal/src/LinkManager/TypeLinkManager.php \Drupal\hal\LinkManager\TypeLinkManager::getTypeInternalIds()
Overrides TypeLinkManagerInterface::getTypeInternalIds
File
-
core/
modules/ hal/ src/ LinkManager/ TypeLinkManager.php, line 105
Class
Namespace
Drupal\hal\LinkManagerCode
public function getTypeInternalIds($type_uri, $context = []) {
$types = $this->getTypes($context);
if (isset($types[$type_uri])) {
return $types[$type_uri];
}
return FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.