RestResourceConfig::$granularity

The REST resource configuration granularity. Currently either: \Drupal\rest\RestResourceConfigInterface::METHOD_GRANULARITY \Drupal\rest\RestResourceConfigInterface::RESOURCE_GRANULARITY Type: string File core/modules/rest/src/Entity/RestResourceConfig.php, line 54 Class RestResourceConfig Defines a RestResourceConfig configuration entity class. Namespace Drupal\rest\Entity Code protected $granularity;

RestResourceConfig::$configuration

The REST resource configuration. Type: array File core/modules/rest/src/Entity/RestResourceConfig.php, line 61 Class RestResourceConfig Defines a RestResourceConfig configuration entity class. Namespace Drupal\rest\Entity Code protected $configuration;

RestResourceConfig

Defines a RestResourceConfig configuration entity class. Plugin annotation @ConfigEntityType( id = "rest_resource_config", label = @Translation("REST resource configuration"), config_prefix = "resource", admin_permission = "administer rest resources", label_callback = "getLabelFromPlugin", entity_keys = { "id" = "id" }, config_export = { "id", "plugin_id", "granularity", "configuration" } ) Hierarchy class \Drupal\Core\Entity\Entity implements EntityInterf

RestResource::$serialization_class

The serialization class to deserialize serialized data into. Type: string (optional) File core/modules/rest/src/Annotation/RestResource.php, line 46 Class RestResource Defines a REST resource annotation object. Namespace Drupal\rest\Annotation Code public $serialization_class;

RestResource::$label

The human-readable name of the resource plugin. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/rest/src/Annotation/RestResource.php, line 39 Class RestResource Defines a REST resource annotation object. Namespace Drupal\rest\Annotation Code public $label;

RestResource::$id

The resource plugin ID. Type: string File core/modules/rest/src/Annotation/RestResource.php, line 30 Class RestResource Defines a REST resource annotation object. Namespace Drupal\rest\Annotation Code public $id;

RestResource

Defines a REST resource annotation object. Plugin Namespace: Plugin\rest\resource For a working example, see \Drupal\dblog\Plugin\rest\resource\DBLogResource Hierarchy class \Drupal\Component\Annotation\Plugin implements AnnotationInterfaceclass \Drupal\rest\Annotation\RestResource See also \Drupal\rest\Plugin\Type\ResourcePluginManager \Drupal\rest\Plugin\ResourceBase \Drupal\rest\Plugin\ResourceInterface Plugin API Related topics Annotations Annotations for class discovery and metadata d

rest.install

Install, update and uninstall functions for the rest module. File core/modules/rest/rest.install Functions Name Description rest_requirements Implements hook_requirements(). rest_update_8201 Install the REST config entity type and fix old settings-based config. rest_update_8202 Re-save all views with a REST display to add new auth defaults. rest_update_8203 Enable BC for EntityResource: continue to use permissions.

REST and Application Integration

Integrating third-party applications using REST and related operations. Overview of web services Web services make it possible for applications and web sites to read and update information from other web sites. There are several standard techniques for providing web services, including: SOAP: http://wikipedia.org/wiki/SOAP XML-RPC: http://wikipedia.org/wiki/XML-RPC REST: http://wikipedia.org/wiki/Representational_state_transfer Drupal sites can both provide web services and integrate th

RESPONSIVE_PRIORITY_MEDIUM

A responsive table class; hide table cell on narrow devices. Indicates that a column has medium priority and thus can be hidden on narrow width devices and shown on medium+ width devices (i.e. tablets and desktops). Related topics Content markers Markers used by mark.html.twig and node_mark() to designate content. File core/includes/theme.inc, line 58 The theme system, which controls the output of Drupal. Code const RESPONSIVE_PRIORITY_MEDIUM = 'priority-medium';