RestripeCommand::$selector

A CSS selector string. If the command is a response to a request from an #ajax form element then this value can be NULL. Type: string File core/lib/Drupal/Core/Ajax/RestripeCommand.php, line 26 Class RestripeCommand AJAX command for resetting the striping on a table. Namespace Drupal\Core\Ajax Code protected $selector;

RestripeCommand

AJAX command for resetting the striping on a table. The 'restripe' command instructs the client to restripe a table. This is usually used after a table has been modified by a replace or append command. This command is implemented by Drupal.AjaxCommands.prototype.restripe() defined in misc/ajax.js. Hierarchy class \Drupal\Core\Ajax\RestripeCommand implements CommandInterface Related topics Ajax API Overview for Drupal's Ajax API. File core/lib/Drupal/Core/Ajax/RestripeCommand.php, line 16

RestResourceConfigInterface::RESOURCE_GRANULARITY

Granularity value for per-resource configuration. File core/modules/rest/src/RestResourceConfigInterface.php, line 21 Class RestResourceConfigInterface Defines a configuration entity to store enabled REST resources. Namespace Drupal\rest Code const RESOURCE_GRANULARITY = 'resource';

RestResourceConfigInterface::METHOD_GRANULARITY

Granularity value for per-method configuration. File core/modules/rest/src/RestResourceConfigInterface.php, line 16 Class RestResourceConfigInterface Defines a configuration entity to store enabled REST resources. Namespace Drupal\rest Code const METHOD_GRANULARITY = 'method';

RestResourceConfigInterface::getMethods

public RestResourceConfigInterface::getMethods() Retrieves a list of supported HTTP methods. Return value string[] A list of supported HTTP methods. File core/modules/rest/src/RestResourceConfigInterface.php, line 37 Class RestResourceConfigInterface Defines a configuration entity to store enabled REST resources. Namespace Drupal\rest Code public function getMethods();

RestResourceConfigInterface::getFormats

public RestResourceConfigInterface::getFormats($method) Retrieves a list of supported response formats. Parameters string $method: The request method e.g GET or POST. Return value string[] A list of supported format IDs. File core/modules/rest/src/RestResourceConfigInterface.php, line 59 Class RestResourceConfigInterface Defines a configuration entity to store enabled REST resources. Namespace Drupal\rest Code public function getFormats($method);

RestResourceConfigInterface::getAuthenticationProviders

public RestResourceConfigInterface::getAuthenticationProviders($method) Retrieves a list of supported authentication providers. Parameters string $method: The request method e.g GET or POST. Return value string[] A list of supported authentication provider IDs. File core/modules/rest/src/RestResourceConfigInterface.php, line 48 Class RestResourceConfigInterface Defines a configuration entity to store enabled REST resources. Namespace Drupal\rest Code public function getAuthentication

RestResourceConfigInterface

Defines a configuration entity to store enabled REST resources. Hierarchy interface \Drupal\Core\Config\Entity\ConfigEntityInterface; interface \Drupal\Core\Entity\EntityWithPluginCollectionInterfaceinterface \Drupal\rest\RestResourceConfigInterface File core/modules/rest/src/RestResourceConfigInterface.php, line 11 Namespace Drupal\rest Members Name Modifiers Type Description AccessibleInterface::access public function Checks data value access. CacheableDependencyInt

RestResourceConfig::__construct

public RestResourceConfig::__construct(array $values, $entity_type) Constructs an Entity object. Parameters array $values: An array of values to set, keyed by property name. If the entity type has bundles, the bundle key has to be specified. string $entity_type: The type of the entity to create. Overrides ConfigEntityBase::__construct File core/modules/rest/src/Entity/RestResourceConfig.php, line 73 Class RestResourceConfig Defines a RestResourceConfig configuration entity class. Namesp

RestResourceConfig::onDependencyRemoval

public RestResourceConfig::onDependencyRemoval(array $dependencies) Informs the entity that entities it depends on will be deleted. This method allows configuration entities to remove dependencies instead of being deleted themselves. Configuration entities can use this method to avoid being unnecessarily deleted during an extension uninstallation. For example, entity displays remove references to widgets and formatters if the plugin that supplies them depends on a module that is being uninstall