interface CacheDecoratedResourceInterface 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
- interface \Drupal\restful\Plugin\resource\Decorators\CacheDecoratedResourceInterface
- interface \Drupal\restful\Plugin\resource\Decorators\ResourceDecoratorInterface
Expanded class hierarchy of CacheDecoratedResourceInterface
All classes that implement CacheDecoratedResourceInterface
2 files declare their use of CacheDecoratedResourceInterface
- Formatter.php in src/
Plugin/ formatter/ Formatter.php - Contains \Drupal\restful\Plugin\formatter\Formatter
- restful.entity.inc in ./
restful.entity.inc - Contains entity related code.
File
- src/
Plugin/ resource/ Decorators/ CacheDecoratedResourceInterface.php, line 11 - Contains \Drupal\restful\Plugin\resource\Decorators\CacheDecoratedResourceInterface.
Namespace
Drupal\restful\Plugin\resource\DecoratorsView source
interface CacheDecoratedResourceInterface extends ResourceDecoratorInterface {
/**
* Generates a serialized key value pair.
*
* @param string $key
* The key
* @param string $value
* The value.
*
* @return string
* The serialized value.
*/
public static function serializeKeyValue($key, $value);
/**
* Getter for $cacheController.
*
* @return \DrupalCacheInterface
* The cache object.
*/
public function getCacheController();
/**
* Checks if simple invalidation is enabled for this resource.
*
* @return bool
* TRUE if simple invalidation is needed.
*/
public function hasSimpleInvalidation();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheDecoratedResourceInterface:: |
public | function | Getter for $cacheController. | 1 |
CacheDecoratedResourceInterface:: |
public | function | Checks if simple invalidation is enabled for this resource. | 1 |
CacheDecoratedResourceInterface:: |
public static | function | Generates a serialized key value pair. | 1 |
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 |