template_preprocess_system_themes_page

template_preprocess_system_themes_page(&$variables) Prepares variables for appearance page templates. Default template: system-themes-page.html.twig. Parameters $variables: An associative array containing: theme_groups: An associative array containing groups of themes. theme_group_titles: An associative array containing titles of themes. File core/modules/system/system.admin.inc, line 303 Admin page callbacks for the system module. Code function template_preprocess_system_themes_page

SqlContentEntityStorage::requiresFieldDataMigration

public SqlContentEntityStorage::requiresFieldDataMigration(FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original) Checks if existing data would be lost if the schema changes were applied. If there are no schema changes needed, then no data needs to be migrated, but it is not the responsibility of this function to recheck what requiresFieldStorageSchemaChanges() checks. Rather, the meaning of what this function returns when requiresFieldStorageSchemaChang

Condition::compile

public Condition::compile(Connection $connection, PlaceholderInterface $queryPlaceholder) Compiles the saved conditions for later retrieval. This method does not return anything, but simply prepares data to be retrieved via __toString() and arguments(). Parameters $connection: The database connection for which to compile the conditionals. $queryPlaceholder: The query this condition belongs to. If not given, the current query is used. Overrides ConditionInterface::compile File core/lib/Drupal/C

MenuTreeStorage::menuNameInUse

public MenuTreeStorage::menuNameInUse($menu_name) Determines whether a specific menu name is used in the tree. Parameters string $menu_name: The menu name. Return value bool Returns TRUE if the given menu name is used, otherwise FALSE. Overrides MenuTreeStorageInterface::menuNameInUse File core/lib/Drupal/Core/Menu/MenuTreeStorage.php, line 1019 Class MenuTreeStorage Provides a menu tree storage using the database. Namespace Drupal\Core\Menu Code public function menuNameInUse($menu_n

CacheFactoryInterface

An interface defining cache factory classes. Hierarchy interface \Drupal\Core\Cache\CacheFactoryInterface File core/lib/Drupal/Core/Cache/CacheFactoryInterface.php, line 8 Namespace Drupal\Core\Cache Members Name Modifiers Type Description CacheFactoryInterface::get public function Gets a cache backend class for a given cache bin.

AccessResultReasonInterface::getReason

public AccessResultReasonInterface::getReason() Gets the reason for this access result. Return value string|null The reason of this access result or NULL if no reason is provided. File core/lib/Drupal/Core/Access/AccessResultReasonInterface.php, line 23 Class AccessResultReasonInterface Interface for access result value objects with stored reason for developers. Namespace Drupal\Core\Access Code public function getReason();

BlockContentAccessControlHandler

Defines the access control handler for the custom block entity type. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityAccessControlHandler implements EntityAccessControlHandlerInterfaceclass \Drupal\block_content\BlockContentAccessControlHandler See also \Drupal\block_content\Entity\BlockContent File core/modules/block_content/src/BlockContentAccessControlHandler.php, line 15 Namespace Drupal

EntityFormBuilder::getForm

public EntityFormBuilder::getForm(EntityInterface $entity, $operation = 'default', array $form_state_additions = array()) Gets the built and processed entity form for the given entity. The form may also be retrieved from the cache if the form was built in a previous page load. The form is then passed on for processing, validation, and submission if there is proper input. $form_state_additions['langcode'] = $langcode; $form = \Drupal::service('entity.form_builder')->getForm($entity, 'defa

ConfigEntityBase

Defines a base configuration entity class. Hierarchy class \Drupal\Core\Entity\Entity implements EntityInterface uses RefinableCacheableDependencyTrait, DependencySerializationTraitclass \Drupal\Core\Config\Entity\ConfigEntityBase implements ConfigEntityInterface uses PluginDependencyTrait Related topics Entity API Describes how to define and manipulate content and configuration entities. File core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 20 Namespace Drupal\Core\Confi

ThemeManagerInterface::alter

public ThemeManagerInterface::alter($type, &$data, &$context1 = NULL, &$context2 = NULL) Passes alterable variables to specific $theme_TYPE_alter() implementations. Executes an alter hook on the current theme. It also invokes alter hooks for all base themes. $theme specifies the theme name of the active theme and all its base themes. This dispatch function hands off the passed-in variables to type-specific $theme_TYPE_alter() implementations in the active theme. It ensures a consist