FeedHtmlRouteProvider
class FeedHtmlRouteProvider extends AdminHtmlRouteProvider (View source)
Provides HTML routes for the feed entity type.
Properties
| protected EntityTypeManagerInterface | $entityTypeManager | The entity type manager. |
from DefaultHtmlRouteProvider |
| protected EntityFieldManagerInterface | $entityFieldManager | The entity field manager. |
from DefaultHtmlRouteProvider |
Methods
Constructs a new DefaultHtmlRouteProvider.
Instantiates a new instance of this entity handler.
Gets the type of the ID key for a given entity type.
Returns the delete multiple form route.
Details
__construct(EntityTypeManagerInterface $entity_type_manager, EntityFieldManagerInterface $entity_field_manager)
Constructs a new DefaultHtmlRouteProvider.
static EntityHandlerInterface
createInstance(ContainerInterface $container, EntityTypeInterface $entity_type)
Instantiates a new instance of this entity handler.
This is a factory method that returns a new instance of this object. The factory should pass any needed dependencies into the constructor of this object, but not the container itself. Every call to this method must return a new instance of this object; that is, it may not implement a singleton.
RouteCollection|Route[]
getRoutes(EntityTypeInterface $entity_type)
Provides routes for entities.
protected Route|null
getAddPageRoute(EntityTypeInterface $entity_type)
Gets the add page route.
Built only for entity types that have bundles.
protected Route|null
getAddFormRoute(EntityTypeInterface $entity_type)
Gets the add-form route.
protected Route|null
getCanonicalRoute(EntityTypeInterface $entity_type)
Gets the canonical route.
protected Route|null
getEditFormRoute(EntityTypeInterface $entity_type)
Gets the edit-form route.
protected Route|null
getDeleteFormRoute(EntityTypeInterface $entity_type)
Gets the delete-form route.
protected Route|null
getCollectionRoute(EntityTypeInterface $entity_type)
Gets the collection route.
protected string|null
getEntityTypeIdKeyType(EntityTypeInterface $entity_type)
Gets the type of the ID key for a given entity type.
protected Route|null
getDeleteMultipleFormRoute(EntityTypeInterface $entity_type)
Returns the delete multiple form route.