PathProcessorEntityResourceBC
class PathProcessorEntityResourceBC implements InboundPathProcessorInterface (View source)
Path processor to maintain BC for entity REST resource URLs from Drupal 8.0.
Properties
| protected EntityTypeManagerInterface | $entityTypeManager | The entity type manager. |
Methods
__construct(EntityTypeManagerInterface $entity_type_manager)
Creates a new PathProcessorEntityResourceBC instance.
string
processInbound(string $path, Request $request)
Processes the inbound path.
Details
__construct(EntityTypeManagerInterface $entity_type_manager)
Creates a new PathProcessorEntityResourceBC instance.
string
processInbound(string $path, Request $request)
Processes the inbound path.
Implementations may make changes to the request object passed in but should avoid all other side effects. This method can be called to process requests other than the current request.