ImageToolkitOperationManager::getToolkitOperation

public ImageToolkitOperationManager::getToolkitOperation(ImageToolkitInterface $toolkit, $operation) Returns a toolkit operation plugin instance. Parameters \Drupal\Core\ImageToolkit\ImageToolkitInterface $toolkit: The toolkit instance. string $operation: The operation (e.g. "crop"). Return value \Drupal\Core\ImageToolkit\ImageToolkitOperationInterface An instance of the requested toolkit operation plugin. Throws \Drupal\Component\Plugin\Exception\PluginNotFoundException When no plugin is av

BookManagerInterface::getActiveTrailIds

public BookManagerInterface::getActiveTrailIds($bid, $link) Gets the active trail IDs for the specified book at the provided path. Parameters string $bid: The Book ID to find links for. array $link: A fully loaded menu link. Return value array An array containing the active trail: a list of mlids. File core/modules/book/src/BookManagerInterface.php, line 50 Class BookManagerInterface Provides an interface defining a book manager. Namespace Drupal\book Code public function getActiveTr

ContentTranslationHandler::$manager

The content translation manager. Type: \Drupal\content_translation\ContentTranslationManagerInterface File core/modules/content_translation/src/ContentTranslationHandler.php, line 54 Class ContentTranslationHandler Base class for content translation handlers. Namespace Drupal\content_translation Code protected $manager;

ContentUninstallValidator::validate

public ContentUninstallValidator::validate($module) Determines the reasons a module can not be uninstalled. Example implementation: public function validate($module) { $entity_types = $this->entityManager->getDefinitions(); $reasons = array(); foreach ($entity_types as $entity_type) { if ($module == $entity_type->getProvider() && $entity_type instanceof ContentEntityTypeInterface && $this->entityManager->getStorage($entity_type->id())->hasData()) {

Role::preSave

public Role::preSave(EntityStorageInterface $storage) Acts on an entity before the presave hook is invoked. Used before the entity is saved and before invoking the presave hook. Note that in case of translatable content entities this callback is only fired on their current translation. It is up to the developer to iterate over all translations if needed. This is different from its counterpart in the Field API, FieldItemListInterface::preSave(), which is fired on all field translations automatic

UpdateKernel::setupRequestMatch

protected UpdateKernel::setupRequestMatch(Request $request) Set up the request with fake routing data for update.php. This fake routing data is needed in order to make batch API work properly. Parameters \Symfony\Component\HttpFoundation\Request $request: The incoming request. File core/lib/Drupal/Core/Update/UpdateKernel.php, line 150 Class UpdateKernel Defines a kernel which is used primarily to run the update of Drupal. Namespace Drupal\Core\Update Code protected function setupRequ

ActionConfigEntityInterface::isConfigurable

public ActionConfigEntityInterface::isConfigurable() Returns whether or not this action is configurable. Return value bool File core/modules/system/src/ActionConfigEntityInterface.php, line 17 Class ActionConfigEntityInterface Provides an interface defining a action entity. Namespace Drupal\system Code public function isConfigurable();

BatchStorage::$connection

The database connection. Type: \Drupal\Core\Database\Connection File core/lib/Drupal/Core/Batch/BatchStorage.php, line 22 Class BatchStorage Namespace Drupal\Core\Batch Code protected $connection;

FileReadOnlyStorage::garbageCollection

public FileReadOnlyStorage::garbageCollection() Performs garbage collection on the storage. The storage may choose to delete expired or invalidated items. Overrides PhpStorageInterface::garbageCollection File core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php, line 103 Class FileReadOnlyStorage Reads code as regular PHP files, but won't write them. Namespace Drupal\Component\PhpStorage Code public function garbageCollection() { }

ConfigEntityBase::$_core

Information maintained by Drupal core about configuration. Keys: default_config_hash: A hash calculated by the config.installer service and added during installation. Type: array File core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 100 Class ConfigEntityBase Defines a base configuration entity class. Namespace Drupal\Core\Config\Entity Code protected $_core = [];