Database::removeConnection

final public static Database::removeConnection($key) Remove a connection and its corresponding connection information. Parameters string $key: The connection key. Return value bool TRUE in case of success, FALSE otherwise. File core/lib/Drupal/Core/Database/Database.php, line 334 Class Database Primary front-controller for the database system. Namespace Drupal\Core\Database Code final public static function removeConnection($key) { if (isset(self::$databaseInfo[$key])) { self::

StorageComparer::$sourceNames

Sorted list of all the configuration object names in the source storage. The list is keyed by storage collection name. Type: array File core/lib/Drupal/Core/Config/StorageComparer.php, line 66 Class StorageComparer Defines a config storage comparer. Namespace Drupal\Core\Config Code protected $sourceNames = array();

EntityTypeModerationRouteProvider::getRoutes

public EntityTypeModerationRouteProvider::getRoutes(EntityTypeInterface $entity_type) Provides routes for entities. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type Return value \Symfony\Component\Routing\RouteCollection|\Symfony\Component\Routing\Route[] Returns a route collection or an array of routes keyed by name, like route_callbacks inside 'routing.yml' files. Overrides EntityRouteProviderInterface::getRoutes File core/modules/content_moderation/src/Routi

ContentEntityStorageBase::doDeleteRevisionFieldItems

abstract protected ContentEntityStorageBase::doDeleteRevisionFieldItems(ContentEntityInterface $revision) Deletes field values of an entity revision from the storage. Parameters \Drupal\Core\Entity\ContentEntityInterface $revision: An entity revision object to be deleted. File core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php, line 353 Class ContentEntityStorageBase Base class for content entity storage handlers. Namespace Drupal\Core\Entity Code abstract protected function doD

Entity::getEntityTypeId

public Entity::getEntityTypeId() Gets the ID of the type of the entity. Return value string The entity type ID. Overrides EntityInterface::getEntityTypeId File core/lib/Drupal/Core/Entity/Entity.php, line 141 Class Entity Defines a base entity class. Namespace Drupal\Core\Entity Code public function getEntityTypeId() { return $this->entityTypeId; }

MetadataBag::__construct

public MetadataBag::__construct(Settings $settings) Constructs a new metadata bag instance. Parameters \Drupal\Core\Site\Settings $settings: The settings instance. Overrides MetadataBag::__construct File core/lib/Drupal/Core/Session/MetadataBag.php, line 24 Class MetadataBag Provides a container for application specific session metadata. Namespace Drupal\Core\Session Code public function __construct(Settings $settings) { $update_threshold = $settings->get('session_write_interval'

update_authorize_run_install

update_authorize_run_install($filetransfer, $project, $updater_name, $local_url) Installs a new project when invoked by authorize.php. Callback for system_authorized_init() in update_manager_install_form_submit(). Parameters FileTransfer $filetransfer: The FileTransfer object created by authorize.php for use during this operation. string $project: The canonical project short name; i.e., the name of the module, theme, or profile. string $updater_name: The name of the Drupal\Core\Updater\Updater

Xss::split

protected static Xss::split($string, $html_tags, $class) Processes an HTML tag. Parameters string $string: The HTML tag to process. array $html_tags: An array where the keys are the allowed tags and the values are not used. string $class: The called class. This method is called from an anonymous function which breaks late static binding. See https://bugs.php.net/bug.php?id=66622 for more information. Return value string If the element isn't allowed, an empty string. Otherwise, the cleaned up

MenuForm::$menuTree

The menu tree service. Type: \Drupal\Core\Menu\MenuLinkTreeInterface File core/modules/menu_ui/src/MenuForm.php, line 45 Class MenuForm Base form for menu edit forms. Namespace Drupal\menu_ui Code protected $menuTree;

LoggerChannel::$levelTranslation

Map of PSR3 log constants to RFC 5424 log constants. Type: array File core/lib/Drupal/Core/Logger/LoggerChannel.php, line 49 Class LoggerChannel Defines a logger channel that most implementations will use. Namespace Drupal\Core\Logger Code protected $levelTranslation = array( LogLevel::EMERGENCY => RfcLogLevel::EMERGENCY, LogLevel::ALERT => RfcLogLevel::ALERT, LogLevel::CRITICAL => RfcLogLevel::CRITICAL, LogLevel::ERROR => RfcLogLevel::ERROR, LogLevel::WARNING =&g