public function TypeLinkManager::getTypeInternalIds

Implements \Drupal\rest\LinkManager\TypeLinkManagerInterface::getTypeInternalIds().

Overrides TypeLinkManagerInterface::getTypeInternalIds

File

drupal/core/modules/rest/lib/Drupal/rest/LinkManager/TypeLinkManager.php, line 50
Contains \Drupal\rest\LinkManager\TypeLinkManager.

Class

TypeLinkManager

Namespace

Drupal\rest\LinkManager

Code

public function getTypeInternalIds($type_uri) {
  $types = $this
    ->getTypes();
  if (isset($types[$type_uri])) {
    return $types[$type_uri];
  }
  return FALSE;
}