class FieldInheritanceHtmlRouteProvider in Field Inheritance 8
Same name and namespace in other branches
- 2.0.x src/FieldInheritanceHtmlRouteProvider.php \Drupal\field_inheritance\FieldInheritanceHtmlRouteProvider
Provides routes for Field inheritance entities.
Hierarchy
- class \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider implements EntityHandlerInterface, EntityRouteProviderInterface
- class \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
- class \Drupal\field_inheritance\FieldInheritanceHtmlRouteProvider
- class \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
Expanded class hierarchy of FieldInheritanceHtmlRouteProvider
See also
Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider
File
- src/
FieldInheritanceHtmlRouteProvider.php, line 14
Namespace
Drupal\field_inheritanceView source
class FieldInheritanceHtmlRouteProvider extends AdminHtmlRouteProvider {
/**
* {@inheritdoc}
*/
public function getRoutes(EntityTypeInterface $entity_type) {
$collection = parent::getRoutes($entity_type);
// Provide your custom entity routes here.
return $collection;
}
}