EntityResourcePostRouteSubscriber::$resourceConfigStorage

Same name in other branches
  1. 9 core/modules/rest/src/EventSubscriber/EntityResourcePostRouteSubscriber.php \Drupal\rest\EventSubscriber\EntityResourcePostRouteSubscriber::resourceConfigStorage
  2. 8.9.x core/modules/rest/src/EventSubscriber/EntityResourcePostRouteSubscriber.php \Drupal\rest\EventSubscriber\EntityResourcePostRouteSubscriber::resourceConfigStorage
  3. 11.x core/modules/rest/src/EventSubscriber/EntityResourcePostRouteSubscriber.php \Drupal\rest\EventSubscriber\EntityResourcePostRouteSubscriber::resourceConfigStorage

The REST resource config storage.

Type: \Drupal\Core\Entity\EntityStorageInterface

File

core/modules/rest/src/EventSubscriber/EntityResourcePostRouteSubscriber.php, line 20

Class

EntityResourcePostRouteSubscriber
Generates a 'create' route for an entity type if it has a REST POST route.

Namespace

Drupal\rest\EventSubscriber

Code

protected $resourceConfigStorage;

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