StorageReplaceDataWrapper::createCollection

public StorageReplaceDataWrapper::createCollection($collection) Creates a collection on the storage. A configuration storage can contain multiple sets of configuration objects in partitioned collections. The collection name identifies the current collection used. Implementations of this method must provide a new instance to avoid side effects caused by the fact that Config objects have their storage injected. Parameters string $collection: The collection name. Valid collection names conform to

BlockRepositoryInterface::getVisibleBlocksPerRegion

public BlockRepositoryInterface::getVisibleBlocksPerRegion(array &$cacheable_metadata = []) Returns an array of regions and their block entities. Parameters \Drupal\Core\Cache\CacheableMetadata[] $cacheable_metadata: (optional) List of CacheableMetadata objects, keyed by region. This is by reference and is used to pass this information back to the caller. Return value array The array is first keyed by region machine name, with the values containing an array keyed by block ID, with block e

tracker_uninstall

tracker_uninstall() Implements hook_uninstall(). File core/modules/tracker/tracker.install, line 11 Install, update, and uninstall functions for tracker.module. Code function tracker_uninstall() { \Drupal::state()->delete('tracker.index_nid'); }

EntityTypeIdLengthException

Defines an exception thrown when an entity ID is too long. Hierarchy class \Drupal\Core\Entity\Exception\EntityTypeIdLengthException extends \Exception File core/lib/Drupal/Core/Entity/Exception/EntityTypeIdLengthException.php, line 8 Namespace Drupal\Core\Entity\Exception Members

BlockRepository::__construct

public BlockRepository::__construct(EntityManagerInterface $entity_manager, ThemeManagerInterface $theme_manager, ContextHandlerInterface $context_handler) Constructs a new BlockRepository. Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager. \Drupal\Core\Theme\ThemeManagerInterface $theme_manager: The theme manager. \Drupal\Core\Plugin\Context\ContextHandlerInterface $context_handler: The plugin context handler. File core/modules/block/src/BlockRepository

StatementInterface::fetchAllAssoc

public StatementInterface::fetchAllAssoc($key, $fetch = NULL) Returns the result set as an associative array keyed by the given field. If the given key appears multiple times, later records will overwrite earlier ones. Parameters $key: The name of the field on which to index the array. $fetch: The fetchmode to use. If set to PDO::FETCH_ASSOC, PDO::FETCH_NUM, or PDO::FETCH_BOTH the returned value with be an array of arrays. For any other value it will be an array of objects. By default, the fet

EntityType::setLabelCallback

public EntityType::setLabelCallback($callback) Sets the label callback. Parameters callable $callback: A callable that returns the label of the entity. Return value $this Overrides EntityTypeInterface::setLabelCallback Deprecated in Drupal 8.0.x-dev and will be removed before Drupal 9.0.0. Use EntityInterface::label() for complex label generation as needed. See also \Drupal\Core\Entity\EntityInterface::label() \Drupal\Core\Entity\EntityTypeInterface::getLabelCallback() \Drupal\Core\Entity

SSH::__construct

SSH::__construct($jail, $username, $password, $hostname = "localhost", $port = 22) Constructs a Drupal\Core\FileTransfer\FileTransfer object. Parameters $jail: The full path where all file operations performed by this object will be restricted to. This prevents the FileTransfer classes from being able to touch other parts of the filesystem. Overrides FileTransfer::__construct File core/lib/Drupal/Core/FileTransfer/SSH.php, line 13 Class SSH The SSH connection class for the update module.

RouteProvider::reset

public RouteProvider::reset() Resets the route provider object. Overrides RouteProviderInterface::reset File core/lib/Drupal/Core/Routing/RouteProvider.php, line 382 Class RouteProvider A Route Provider front-end for all Drupal-stored routes. Namespace Drupal\Core\Routing Code public function reset() { $this->routes = array(); $this->serializedRoutes = array(); $this->cacheTagInvalidator->invalidateTags(['routes']); }

PoStreamReader

Implements Gettext PO stream reader. The PO file format parsing is implemented according to the documentation at http://www.gnu.org/software/gettext/manual/gettext.html#PO-Files Hierarchy class \Drupal\Component\Gettext\PoStreamReader implements PoReaderInterface, PoStreamInterface File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 13 Namespace Drupal\Component\Gettext Members Name Modifiers Type Description PoStreamReader::$_context private property Parser