ResourceRoutes

Subscriber for REST-style routes.

Hierarchy

File

core/modules/rest/src/Routing/ResourceRoutes.php, line 15

Namespace

Drupal\rest\Routing

Members

Name Modifiers Type Description
ResourceRoutes::$logger protected property A logger instance.
ResourceRoutes::$manager protected property The plugin manager for REST plugins.
ResourceRoutes::$resourceConfigStorage protected property The REST resource config storage.
ResourceRoutes::alterRoutes protected function Alters existing routes for a specific collection. Overrides RouteSubscriberBase::alterRoutes
ResourceRoutes::getRoutesForResourceConfig protected function Provides all routes for a given REST resource config.
ResourceRoutes::__construct public function Constructs a RouteSubscriber object.
RouteSubscriberBase::getSubscribedEvents public static function Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents
RouteSubscriberBase::onAlterRoutes public function Delegates the route altering to self::alterRoutes().
doc_Drupal
2016-10-29 09:37:51
Comments
Leave a Comment

Please login to continue.