class TestDefaultHtmlRouteProvider

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php \Drupal\Tests\Core\Entity\Routing\TestDefaultHtmlRouteProvider
  2. 10 core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php \Drupal\Tests\Core\Entity\Routing\TestDefaultHtmlRouteProvider
  3. 11.x core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php \Drupal\Tests\Core\Entity\Routing\TestDefaultHtmlRouteProvider

Hierarchy

Expanded class hierarchy of TestDefaultHtmlRouteProvider

File

core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php, line 354

Namespace

Drupal\Tests\Core\Entity\Routing
View source
class TestDefaultHtmlRouteProvider extends DefaultHtmlRouteProvider {
    public function getEntityTypeIdKeyType(EntityTypeInterface $entity_type) {
        return parent::getEntityTypeIdKeyType($entity_type);
    }
    public function getAddPageRoute(EntityTypeInterface $entity_type) {
        return parent::getAddPageRoute($entity_type);
    }
    public function getAddFormRoute(EntityTypeInterface $entity_type) {
        return parent::getAddFormRoute($entity_type);
    }
    public function getCanonicalRoute(EntityTypeInterface $entity_type) {
        return parent::getCanonicalRoute($entity_type);
    }
    public function getCollectionRoute(EntityTypeInterface $entity_type) {
        return parent::getCollectionRoute($entity_type);
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title Overrides
DefaultHtmlRouteProvider::$entityFieldManager protected property The entity field manager.
DefaultHtmlRouteProvider::$entityTypeManager protected property The entity type manager.
DefaultHtmlRouteProvider::createInstance public static function Instantiates a new instance of this entity handler. Overrides EntityHandlerInterface::createInstance 1
DefaultHtmlRouteProvider::getDeleteFormRoute protected function Gets the delete-form route. 1
DefaultHtmlRouteProvider::getDeleteMultipleFormRoute protected function Returns the delete multiple form route. 1
DefaultHtmlRouteProvider::getEditFormRoute protected function Gets the edit-form route. 1
DefaultHtmlRouteProvider::getRoutes public function Provides routes for entities. Overrides EntityRouteProviderInterface::getRoutes 1
DefaultHtmlRouteProvider::__construct public function Constructs a new DefaultHtmlRouteProvider. 1
TestDefaultHtmlRouteProvider::getAddFormRoute public function Gets the add-form route. Overrides DefaultHtmlRouteProvider::getAddFormRoute
TestDefaultHtmlRouteProvider::getAddPageRoute public function Gets the add page route. Overrides DefaultHtmlRouteProvider::getAddPageRoute
TestDefaultHtmlRouteProvider::getCanonicalRoute public function Gets the canonical route. Overrides DefaultHtmlRouteProvider::getCanonicalRoute
TestDefaultHtmlRouteProvider::getCollectionRoute public function Gets the collection route. Overrides DefaultHtmlRouteProvider::getCollectionRoute
TestDefaultHtmlRouteProvider::getEntityTypeIdKeyType public function Gets the type of the ID key for a given entity type. Overrides DefaultHtmlRouteProvider::getEntityTypeIdKeyType

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.