KeyValueNullExpirableFactory

Defines the key/value store factory for the null backend. Hierarchy class \Drupal\Core\KeyValueStore\KeyValueNullExpirableFactory implements KeyValueExpirableFactoryInterface File core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php, line 8 Namespace Drupal\Core\KeyValueStore Members Name Modifiers Type Description KeyValueNullExpirableFactory::get public function Constructs a new expirable key/value store for a given collection name. Overrides KeyValueExp

EntityManager::getLastInstalledDefinition

public EntityManager::getLastInstalledDefinition($entity_type_id) Overrides EntityManagerInterface::getLastInstalledDefinition Deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. File core/lib/Drupal/Core/Entity/EntityManager.php, line 455 Class EntityManager Provides a wrapper around many other services relating to entities. Namespace Drupal\Core\Entity Code public function getLastInstalledDefinition($entity_type_id) { return $this->container->get('entity.last_

FormSubmitter::drupalInstallationAttempted

protected FormSubmitter::drupalInstallationAttempted() Wraps drupal_installation_attempted(). Return value bool File core/lib/Drupal/Core/Form/FormSubmitter.php, line 151 Class FormSubmitter Provides submission processing for forms. Namespace Drupal\Core\Form Code protected function drupalInstallationAttempted() { return drupal_installation_attempted(); }

ModuleHandler::buildModuleDependencies

public ModuleHandler::buildModuleDependencies(array $modules) Determines which modules require and are required by each module. Parameters array $modules: An array of module objects keyed by module name. Each object contains information discovered during a Drupal\Core\Extension\ExtensionDiscovery scan. Return value The same array with the new keys for each module: requires: An array with the keys being the modules that this module requires. required_by: An array with the keys being the modu

FTPExtension::createDirectoryJailed

protected FTPExtension::createDirectoryJailed($directory) Creates a directory. Parameters string $directory: The directory to be created. Overrides FileTransfer::createDirectoryJailed File core/lib/Drupal/Core/FileTransfer/FTPExtension.php, line 36 Class FTPExtension Defines a file transfer class using the PHP FTP extension. Namespace Drupal\Core\FileTransfer Code protected function createDirectoryJailed($directory) { if (!ftp_mkdir($this->connection, $directory)) { throw new

ModerationHandler::enforceRevisionsBundleFormAlter

public ModerationHandler::enforceRevisionsBundleFormAlter(array &$form, FormStateInterface $form_state, $form_id) Alters bundle forms to enforce revision handling. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. string $form_id: The form id. Overrides ModerationHandlerInterface::enforceRevisionsBundleFormAlter See also hook_form_alter() File core/modules/content_moderation/s

ViewsFormBase::setType

protected ViewsFormBase::setType($type) Sets the type for this form. Parameters string $type: The type of the item this form is manipulating. File core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php, line 59 Class ViewsFormBase Provides a base class for Views UI AJAX forms. Namespace Drupal\views_ui\Form\Ajax Code protected function setType($type) { if ($type) { $this->type = $type; } }

ComplexDataDefinitionBase::getPropertyDefinitions

abstract public ComplexDataDefinitionBase::getPropertyDefinitions() Gets an array of property definitions of contained properties. Return value \Drupal\Core\TypedData\DataDefinitionInterface[] An array of property definitions of contained properties, keyed by property name. Overrides ComplexDataDefinitionInterface::getPropertyDefinitions File core/lib/Drupal/Core/TypedData/ComplexDataDefinitionBase.php, line 20 Class ComplexDataDefinitionBase Base class for complex data definitions. Nam

ConfigManager::findConfigEntityDependents

public ConfigManager::findConfigEntityDependents($type, array $names, ConfigDependencyManager $dependency_manager = NULL) Finds config entities that are dependent on extensions or entities. Parameters string $type: The type of dependency being checked. Either 'module', 'theme', 'config' or 'content'. array $names: The specific names to check. If $type equals 'module' or 'theme' then it should be a list of module names or theme names. In the case of 'config' or 'content' it should be a list of

CommentStorageInterface

Defines an interface for comment entity storage classes. Hierarchy interface \Drupal\Core\Entity\EntityStorageInterfaceinterface \Drupal\Core\Entity\ContentEntityStorageInterfaceinterface \Drupal\comment\CommentStorageInterface File core/modules/comment/src/CommentStorageInterface.php, line 12 Namespace Drupal\comment Members Name Modifiers Type Description CommentStorageInterface::getChildCids public function Gets the comment ids of the passed comment entities' childr