BlockAccessControlHandler::$contextRepository

The context manager service. Type: \Drupal\Core\Plugin\Context\ContextRepositoryInterface File core/modules/block/src/BlockAccessControlHandler.php, line 49 Class BlockAccessControlHandler Defines the access control handler for the block entity type. Namespace Drupal\block Code protected $contextRepository;

ForumManagerInterface::getParents

public ForumManagerInterface::getParents($tid) Fetches the parent forums for a given forum. Parameters int $tid: Term ID. Return value array Array of parent terms. Deprecated Scheduled to be removed in 9.0.x, see https://www.drupal.org/node/2371593. File core/modules/forum/src/ForumManagerInterface.php, line 66 Class ForumManagerInterface Provides forum manager interface. Namespace Drupal\forum Code public function getParents($tid);

ImageInterface::save

public ImageInterface::save($destination = NULL) Closes the image and saves the changes to a file. Parameters string|null $destination: (optional) Destination path where the image should be saved. If it is empty the original image file will be overwritten. Return value bool TRUE on success, FALSE on failure. See also \Drupal\Core\ImageToolkit\ImageToolkitInterface::save() File core/lib/Drupal/Core/Image/ImageInterface.php, line 108 Class ImageInterface Provides an interface for image ob

LibraryDependencyResolver::getMinimalRepresentativeSubset

public LibraryDependencyResolver::getMinimalRepresentativeSubset(array $libraries) Gets the minimal representative subset of the given libraries. A minimal representative subset means that any library in the given set of libraries that is a dependency of another library in the set, is removed. Hence a minimal representative subset is the most compact representation possible of a set of libraries. (Each asset library has dependencies and can therefore be seen as a tree. Hence the given list of l

RouteBuilderInterface::rebuildIfNeeded

public RouteBuilderInterface::rebuildIfNeeded() Rebuilds the route information if necessary, and dumps it. Return value bool Returns TRUE if the rebuild occurs, FALSE otherwise. File core/lib/Drupal/Core/Routing/RouteBuilderInterface.php, line 38 Class RouteBuilderInterface Rebuilds the route information and dumps it. Namespace Drupal\Core\Routing Code public function rebuildIfNeeded();

QueueInterface::claimItem

public QueueInterface::claimItem($lease_time = 3600) Claims an item in the queue for processing. Parameters $lease_time: How long the processing is expected to take in seconds, defaults to an hour. After this lease expires, the item will be reset and another consumer can claim the item. For idempotent tasks (which can be run multiple times without side effects), shorter lease times would result in lower latency in case a consumer fails. For tasks that should not be run more than once (non-idem

TypedConfigManager::$configStorage

A storage instance for reading configuration data. Type: \Drupal\Core\Config\StorageInterface File core/lib/Drupal/Core/Config/TypedConfigManager.php, line 22 Class TypedConfigManager Manages config schema type plugins. Namespace Drupal\Core\Config Code protected $configStorage;

EntityAutocomplete::getEntityLabels

public static EntityAutocomplete::getEntityLabels(array $entities) Converts an array of entity objects into a string of entity labels. This method is also responsible for checking the 'view label' access on the passed-in entities. Parameters \Drupal\Core\Entity\EntityInterface[] $entities: An array of entity objects. Return value string A string of entity labels separated by commas. File core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php, line 320 Class EntityAutocomplete Provide

BlockContentController

Hierarchy class \Drupal\Core\Controller\ControllerBase implements ContainerInjectionInterface uses LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\block_content\Controller\BlockContentController File core/modules/block_content/src/Controller/BlockContentController.php, line 13 Namespace Drupal\block_content\Controller Members Name Modifiers Type Description BlockContentController::$blockContentStorage

Timer

Provides helpers to use timers throughout a request. Hierarchy class \Drupal\Component\Utility\Timer Related topics Utility classes and functions Overview of utility classes and functions for developers. File core/lib/Drupal/Component/Utility/Timer.php, line 10 Namespace Drupal\Component\Utility Members Name Modifiers Type Description Timer::$timers static protected property Timer::read static public function Reads the current timer value without stopping the t