interface ResourceDecoratorInterface in RESTful 7.2
Hierarchy
- interface \Drupal\restful\Plugin\resource\ResourceInterface extends \Drupal\Component\Plugin\PluginInspectionInterface \Drupal\Component\Plugin\ConfigurablePluginInterface
- interface \Drupal\restful\Plugin\resource\Decorators\ResourceDecoratorInterface
Expanded class hierarchy of ResourceDecoratorInterface
All classes that implement ResourceDecoratorInterface
File
- src/
Plugin/ resource/ Decorators/ ResourceDecoratorInterface.php, line 13 - Contains \Drupal\restful\Plugin\resource\Decorators\ResourceDecoratorInterface.
Namespace
Drupal\restful\Plugin\resource\DecoratorsView source
interface ResourceDecoratorInterface extends ResourceInterface {
/**
* Gets the decorated resource.
*
* @return ResourceInterface
* The underlying resource.
*/
public function getDecoratedResource();
/**
* Gets the primary resource, the one that is not a decorator.
*
* @return ResourceInterface
* The resource.
*/
public function getPrimaryResource();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ResourceDecoratorInterface:: |
public | function | Gets the decorated resource. | 1 |
ResourceDecoratorInterface:: |
public | function | Gets the primary resource, the one that is not a decorator. | 1 |
ResourceInterface:: |
public | function | Determine if user can access the handler. | 2 |
ResourceInterface:: |
public | function | Gets the controllers. | 2 |
ResourceInterface:: |
public | function | Basic implementation for create. | 2 |
ResourceInterface:: |
public | function | Data provider factory. | 2 |
ResourceInterface:: |
public | function | Disable the resource. | 2 |
ResourceInterface:: |
public | function | Discovery controller callback. | 2 |
ResourceInterface:: |
public | function | Shorthand method to perform a quick DELETE request. | 2 |
ResourceInterface:: |
public | function | Shorthand method to perform a quick GET request. | 2 |
ResourceInterface:: |
public | function | Shorthand method to perform a quick PATCH request. | 2 |
ResourceInterface:: |
public | function | Shorthand method to perform a quick POST request. | 2 |
ResourceInterface:: |
public | function | Shorthand method to perform a quick PUT request. | 2 |
ResourceInterface:: |
public | function | Enable the resource. | 2 |
ResourceInterface:: |
public | function | Get the user from for request. | 2 |
ResourceInterface:: |
public | function | Return the controller for a given path. | 2 |
ResourceInterface:: |
public | function | Gets the controllers for this resource. | 2 |
ResourceInterface:: |
public | function | Gets the data provider. | 2 |
ResourceInterface:: |
public | function | Gets the field definitions. | 2 |
ResourceInterface:: |
public | function | Gets the path of the resource. | 2 |
ResourceInterface:: |
public | function | Get the request object. | 2 |
ResourceInterface:: |
public | function | Gets the resource machine name. | 2 |
ResourceInterface:: |
public | function | Gets the resource name. | 2 |
ResourceInterface:: |
public | function | Helper method; Get the URL of the resource and query strings. | 2 |
ResourceInterface:: |
public | function | Return array keyed with the major and minor version of the resource. | 2 |
ResourceInterface:: |
constant | The string that separates multiple ids. | ||
ResourceInterface:: |
public | function | Basic implementation for listing. | 2 |
ResourceInterface:: |
public | function | Checks if the resource is enabled. | 2 |
ResourceInterface:: |
public | function | Controller function that passes the data along and executes right action. | 2 |
ResourceInterface:: |
public | function | Basic implementation for update. | 2 |
ResourceInterface:: |
public | function | Basic implementation for update. | 2 |
ResourceInterface:: |
public | function | 2 | |
ResourceInterface:: |
public | function | Sets the data provider. | 2 |
ResourceInterface:: |
public | function | Sets the field definitions. | 2 |
ResourceInterface:: |
public | function | Sets the path of the resource. | 2 |
ResourceInterface:: |
public | function | Sets the plugin definition to the provided array. | 2 |
ResourceInterface:: |
public | function | Sets the request object. | 2 |
ResourceInterface:: |
public | function | Switches the user back from the original user for the session. | 2 |
ResourceInterface:: |
public | function | Basic implementation for update. | 2 |
ResourceInterface:: |
public | function | Gets a resource URL based on the current version. | 2 |
ResourceInterface:: |
public | function | Basic implementation for view. | 2 |