entity_revision_load

entity_revision_load($entity_type, $revision_id) Loads an entity from the database. \Drupal::entityTypeManager() ->getStorage($entity_type) ->loadRevision($revision_id); Parameters string $entity_type: The entity type to load, e.g. node or user. int $revision_id: The id of the entity to load. Return value \Drupal\Core\Entity\EntityInterface|null The entity object, or NULL if there is no entity with the given revision id. Deprecated as of Drupal 8.0.x, will be removed before Drupa

ListCacheBinsPass

Adds cache_bins parameter to the container. Hierarchy class \Drupal\Core\Cache\ListCacheBinsPass implements CompilerPassInterface File core/lib/Drupal/Core/Cache/ListCacheBinsPass.php, line 11 Namespace Drupal\Core\Cache Members Name Modifiers Type Description ListCacheBinsPass::process public function Implements CompilerPassInterface::process(). Overrides CompilerPassInterface::process

file_prepare_directory

file_prepare_directory(&$directory, $options = FILE_MODIFY_PERMISSIONS) Checks that the directory exists and is writable. Directories need to have execute permissions to be considered a directory by FTP servers, etc. Parameters $directory: A string reference containing the name of a directory path or URI. A trailing slash will be trimmed from a path. $options: A bitmask to indicate if the directory should be created if it does not exist (FILE_CREATE_DIRECTORY) or made writable if it is rea

Action::$id

The name (plugin ID) of the action. Type: string File core/modules/system/src/Entity/Action.php, line 39 Class Action Defines the configured action entity. Namespace Drupal\system\Entity Code protected $id;

PlaceholderStrategyInterface

Provides an interface for defining a placeholder strategy service. Hierarchy interface \Drupal\Core\Render\Placeholder\PlaceholderStrategyInterface File core/lib/Drupal/Core/Render/Placeholder/PlaceholderStrategyInterface.php, line 8 Namespace Drupal\Core\Render\Placeholder Members Name Modifiers Type Description PlaceholderStrategyInterface::processPlaceholders public function Processes placeholders to render them with different strategies.

BundleModerationConfigurationForm::form

public BundleModerationConfigurationForm::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides EntityForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/content_moderation/src/Form/BundleModerationConfigurationForm.php, line 52 Class BundleModerationConfigurationForm Form for configuring moderation usage on a given entity bundle. Namespace Drupal\content_moderatio

PhpArrayContainer::createService

protected PhpArrayContainer::createService(array $definition, $id) Creates a service from a service definition. Parameters array $definition: The service definition to create a service from. string $id: The service identifier, necessary so it can be shared if its public. Return value object The service described by the service definition. Throws \Symfony\Component\DependencyInjection\Exception\RuntimeException Thrown when the service is a synthetic service. \Symfony\Component\DependencyInjec

UserLoginForm::$renderer

The renderer. Type: \Drupal\Core\Render\RendererInterface File core/modules/user/src/Form/UserLoginForm.php, line 44 Class UserLoginForm Provides a user login form. Namespace Drupal\user\Form Code protected $renderer;

ViewExecutable::$current_page

The current page. If the view uses pagination. Type: int File core/modules/views/src/ViewExecutable.php, line 87 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code protected $current_page = NULL;

system-admin-index.html.twig

Default theme implementation for the admin index page. Available variables: system_compact_link: Themed link to toggle compact view. containers: A list of administrative containers keyed by position: left or right. Each container in the list contains: blocks: A list of administrative blocks, rendered through admin-block.html.twig. See also template_preprocess_system_admin_index() File core/modules/system/templates/system-admin-index.html.twig Related topics Theme system overview Funct