Loading core/modules/rest/src/Plugin/rest/resource/EntityResource.php +2 −0 Original line number Diff line number Diff line Loading @@ -115,6 +115,8 @@ public static function create(ContainerInterface $container, array $configuratio * * @param \Drupal\Core\Entity\EntityInterface $entity * The entity object. * @param \Symfony\Component\HttpFoundation\Request $request * The incoming request. * * @return \Drupal\rest\ResourceResponse * The response containing the entity with its accessible fields. Loading Loading
core/modules/rest/src/Plugin/rest/resource/EntityResource.php +2 −0 Original line number Diff line number Diff line Loading @@ -115,6 +115,8 @@ public static function create(ContainerInterface $container, array $configuratio * * @param \Drupal\Core\Entity\EntityInterface $entity * The entity object. * @param \Symfony\Component\HttpFoundation\Request $request * The incoming request. * * @return \Drupal\rest\ResourceResponse * The response containing the entity with its accessible fields. Loading