ContentEntityNullStorage::loadRevision

public ContentEntityNullStorage::loadRevision($revision_id) Load a specific entity revision. Parameters int|string $revision_id: The revision id. Return value \Drupal\Core\Entity\EntityInterface|null The specified entity revision or NULL if not found. Overrides ContentEntityStorageBase::loadRevision File core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php, line 37 Class ContentEntityNullStorage Defines a null entity storage. Namespace Drupal\Core\Entity Code public function load

ConfigTranslationFieldListBuilder::$baseEntityType

The name of the entity type the fields are attached to. Type: string File core/modules/config_translation/src/Controller/ConfigTranslationFieldListBuilder.php, line 22 Class ConfigTranslationFieldListBuilder Defines the config translation list builder for field entities. Namespace Drupal\config_translation\Controller Code protected $baseEntityType = '';

ViewUI::$stack

Stores a stack of UI forms to display. Type: array File core/modules/views_ui/src/ViewUI.php, line 78 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public $stack;

SqlContentEntityStorageSchema::createSharedTableSchema

protected SqlContentEntityStorageSchema::createSharedTableSchema(FieldStorageDefinitionInterface $storage_definition, $only_save = FALSE) Creates the schema for a field stored in a shared table. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The storage definition of the field being created. bool $only_save: (optional) Whether to skip modification of database tables and only save the schema data for future comparison. For internal use only. This is used by o

hook_queue_info_alter

hook_queue_info_alter(&$queues) Alter cron queue information before cron runs. Called by \Drupal\Core\Cron to allow modules to alter cron queue settings before any jobs are processesed. Parameters array $queues: An array of cron queue information. See also \Drupal\Core\QueueWorker\QueueWorkerInterface \Drupal\Core\Annotation\QueueWorker \Drupal\Core\Cron Related topics Hooks Define functions that alter the behavior of Drupal core. File core/core.api.php, line 1955 Documentation landing

RouteSubscriber::alterRoutes

protected RouteSubscriber::alterRoutes(RouteCollection $collection) Alters existing routes for a specific collection. Parameters \Symfony\Component\Routing\RouteCollection $collection: The route collection for adding routes. Overrides RouteSubscriberBase::alterRoutes File core/modules/config_translation/src/Routing/RouteSubscriber.php, line 35 Class RouteSubscriber Listens to the dynamic route events. Namespace Drupal\config_translation\Routing Code protected function alterRoutes(Rout

ElementInfoManager::$elementInfo

Stores the available element information. Type: array File core/lib/Drupal/Core/Render/ElementInfoManager.php, line 31 Class ElementInfoManager Provides a plugin manager for element plugins. Namespace Drupal\Core\Render Code protected $elementInfo;

AdminController

Returns responses for comment module administrative routes. Hierarchy class \Drupal\Core\Controller\ControllerBase implements ContainerInjectionInterface uses LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\comment\Controller\AdminController File core/modules/comment/src/Controller/AdminController.php, line 13 Namespace Drupal\comment\Controller Members Name Modifiers Type Description AdminController::$f

editor_file_download

editor_file_download($uri) Implements hook_file_download(). See also file_file_download() file_get_file_references() File core/modules/editor/editor.module, line 476 Adds bindings for client-side "text editors" to text formats. Code function editor_file_download($uri) { // Get the file record based on the URI. If not in the database just return. /** @var \Drupal\file\FileInterface[] $files */ $files = \Drupal::entityTypeManager() ->getStorage('file') ->loadByProperties(['

ConfigInstaller::createConfiguration

protected ConfigInstaller::createConfiguration($collection, array $config_to_create) Creates configuration in a collection based on the provided list. Parameters string $collection: The configuration collection. array $config_to_create: An array of configuration data to create, keyed by name. File core/lib/Drupal/Core/Config/ConfigInstaller.php, line 265 Class ConfigInstaller Namespace Drupal\Core\Config Code protected function createConfiguration($collection, array $config_to_create