RemoveCommand::$selector

The CSS selector for the element(s) to be removed. Type: string File core/lib/Drupal/Core/Ajax/RemoveCommand.php, line 26 Class RemoveCommand AJAX command for calling the jQuery remove() method. Namespace Drupal\Core\Ajax Code protected $selector;

RemoveCommand

AJAX command for calling the jQuery remove() method. The 'remove' command instructs the client to use jQuery's remove() method to remove each of elements matched by the given selector, and everything within them. This command is implemented by Drupal.AjaxCommands.prototype.remove() defined in misc/ajax.js. Hierarchy class \Drupal\Core\Ajax\RemoveCommand implements CommandInterface See also http://docs.jquery.com/Manipulation/remove#expr Related topics Ajax API Overview for Drupal's Ajax API

ReliableQueueInterface

Reliable queue interface. Classes implementing this interface preserve the order of messages and guarantee that every item will be executed at least once. Hierarchy interface \Drupal\Core\Queue\QueueInterfaceinterface \Drupal\Core\Queue\ReliableQueueInterface Related topics Queue operations Queue items to allow later processing. File core/lib/Drupal/Core/Queue/ReliableQueueInterface.php, line 13 Namespace Drupal\Core\Queue Members Name Modifiers Type Description QueueInterf

RelationLinkManagerInterface::getRelationUri

public RelationLinkManagerInterface::getRelationUri($entity_type, $bundle, $field_name, $context = array()) Gets the URI that corresponds to a field. When using hypermedia formats, this URI can be used to indicate which field the data represents. Documentation about this field can also be provided at this URI. Parameters string $entity_type: The bundle's entity type. string $bundle: The bundle name. string $field_name: The field name. array $context: (optional) Optional serializer/normalizer c

RelationLinkManagerInterface::getRelationInternalIds

public RelationLinkManagerInterface::getRelationInternalIds($relation_uri) Translates a REST URI into internal IDs. Parameters string $relation_uri: Relation URI to transform into internal IDs Return value array Array with keys 'entity_type', 'bundle' and 'field_name'. File core/modules/rest/src/LinkManager/RelationLinkManagerInterface.php, line 37 Class RelationLinkManagerInterface Namespace Drupal\rest\LinkManager Code public function getRelationInternalIds($relation_uri);

RelationLinkManagerInterface

Hierarchy interface \Drupal\rest\LinkManager\ConfigurableLinkManagerInterfaceinterface \Drupal\rest\LinkManager\RelationLinkManagerInterface File core/modules/rest/src/LinkManager/RelationLinkManagerInterface.php, line 5 Namespace Drupal\rest\LinkManager Members Name Modifiers Type Description ConfigurableLinkManagerInterface::setLinkDomain public function Sets the link domain used in constructing link URIs. RelationLinkManagerInterface::getRelationInternalIds publi

RelationLinkManager::__construct

public RelationLinkManager::__construct(CacheBackendInterface $cache, EntityManagerInterface $entity_manager, ModuleHandlerInterface $module_handler, ConfigFactoryInterface $config_factory, RequestStack $request_stack) Constructor. Parameters \Drupal\Core\Cache\CacheBackendInterface $cache: The cache of relation URIs and their associated Typed Data IDs. \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager. \Drupal\Core\Extension\ModuleHandlerInterface $module_handler:

RelationLinkManager::writeCache

protected RelationLinkManager::writeCache($context = array()) Writes the cache of relation links. Parameters array $context: Context from the normalizer/serializer operation. File core/modules/rest/src/LinkManager/RelationLinkManager.php, line 120 Class RelationLinkManager Namespace Drupal\rest\LinkManager Code protected function writeCache($context = array()) { $data = array(); foreach ($this->entityManager->getDefinitions() as $entity_type) { if ($entity_type instanc

RelationLinkManager::getRelationUri

public RelationLinkManager::getRelationUri($entity_type, $bundle, $field_name, $context = array()) Gets the URI that corresponds to a field. When using hypermedia formats, this URI can be used to indicate which field the data represents. Documentation about this field can also be provided at this URI. Parameters string $entity_type: The bundle's entity type. string $bundle: The bundle name. string $field_name: The field name. array $context: (optional) Optional serializer/normalizer context. R

RelationLinkManager::getRelations

protected RelationLinkManager::getRelations($context = array()) Get the array of relation links. Any field can be handled as a relation simply by changing how it is normalized. Therefore, there is no prior knowledge that can be used here to determine which fields to assign relation URIs. Instead, each field, even primitives, are given a relation URI. It is up to the caller to determine which URIs to use. Parameters array $context: Context from the normalizer/serializer operation. Return value