public function TestDefaultHtmlRouteProvider::getEntityTypeIdKeyType in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php \Drupal\Tests\Core\Entity\Routing\TestDefaultHtmlRouteProvider::getEntityTypeIdKeyType()
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.
Overrides DefaultHtmlRouteProvider::getEntityTypeIdKeyType
File
- core/
tests/ Drupal/ Tests/ Core/ Entity/ Routing/ DefaultHtmlRouteProviderTest.php, line 148 - Contains \Drupal\Tests\Core\Entity\Routing\DefaultHtmlRouteProviderTest.
Class
Namespace
Drupal\Tests\Core\Entity\RoutingCode
public function getEntityTypeIdKeyType(EntityTypeInterface $entity_type) {
return parent::getEntityTypeIdKeyType($entity_type);
}