system_preprocess_block

system_preprocess_block(&$variables) Implements hook_preprocess_HOOK() for block templates. File core/modules/system/system.module, line 827 Configuration system that lets administrators modify the workings of the site. Code function system_preprocess_block(&$variables) { switch ($variables['base_plugin_id']) { case 'system_branding_block': $variables['site_logo'] = ''; if ($variables['content']['site_logo']['#access'] && $variables['content']['site_logo']['#

EntityDisplayBase

Provides a common base class for entity view and form displays. Hierarchy class \Drupal\Core\Entity\Entity implements EntityInterface uses RefinableCacheableDependencyTrait, DependencySerializationTraitclass \Drupal\Core\Config\Entity\ConfigEntityBase implements ConfigEntityInterface uses PluginDependencyTraitclass \Drupal\Core\Entity\EntityDisplayBase implements EntityDisplayInterface File core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 13 Namespace Drupal\Core\Entity Member

ClassResolverInterface

Provides an interface to get a instance of a class with dependency injection. Hierarchy interface \Drupal\Core\DependencyInjection\ClassResolverInterface File core/lib/Drupal/Core/DependencyInjection/ClassResolverInterface.php, line 8 Namespace Drupal\Core\DependencyInjection Members Name Modifiers Type Description ClassResolverInterface::getInstanceFromDefinition public function Returns a class instance with a given class definition.

QueryBase::sort

public QueryBase::sort($field, $direction = 'ASC', $langcode = NULL) Parameters $field: Name of a field. string $direction: $langcode: Language code (optional). Return value \Drupal\Core\Entity\Query\QueryInterface The called object. Overrides QueryInterface::sort File core/lib/Drupal/Core/Entity/Query/QueryBase.php, line 225 Class QueryBase The base entity query class. Namespace Drupal\Core\Entity\Query Code public function sort($field, $direction = 'ASC', $langcode = NULL) { $thi

ImageToolkitOperationManager::$logger

A logger instance. Type: \Psr\Log\LoggerInterface File core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationManager.php, line 28 Class ImageToolkitOperationManager Manages toolkit operation plugins. Namespace Drupal\Core\ImageToolkit Code protected $logger;

entity_render_cache_clear

entity_render_cache_clear() Clears the entity render cache for all entity types. File core/includes/entity.inc, line 15 Entity API for handling entities like nodes or users. Code function entity_render_cache_clear() { $entity_manager = Drupal::entityManager(); foreach ($entity_manager->getDefinitions() as $entity_type => $info) { if ($entity_manager->hasHandler($entity_type, 'view_builder')) { $entity_manager->getViewBuilder($entity_type)->resetCache(); } }

Undefined

Undefined configuration element. Hierarchy class \Drupal\Core\TypedData\TypedData implements PluginInspectionInterface, TypedDataInterface uses StringTranslationTrait, TypedDataTraitclass \Drupal\Core\Config\Schema\Elementclass \Drupal\Core\Config\Schema\Undefined File core/lib/Drupal/Core/Config/Schema/Undefined.php, line 8 Namespace Drupal\Core\Config\Schema Members Name Modifiers Type Description Element::$value protected property The configuration value. Element:

FormState::setAnyErrors

protected static FormState::setAnyErrors($errors = TRUE) Sets the global status of errors. Parameters bool $errors: TRUE if any form has any errors, FALSE otherwise. File core/lib/Drupal/Core/Form/FormState.php, line 1041 Class FormState Stores information about the state of a form. Namespace Drupal\Core\Form Code protected static function setAnyErrors($errors = TRUE) { static::$anyErrors = $errors; }

GeneratedUrl::$generatedUrl

The string value of the URL. Type: string File core/lib/Drupal/Core/GeneratedUrl.php, line 20 Class GeneratedUrl Used to return generated URLs, along with associated bubbleable metadata. Namespace Drupal\Core Code protected $generatedUrl = '';

ConfigFormBaseTrait::config

protected ConfigFormBaseTrait::config($name) Retrieves a configuration object. Parameters string $name: The name of the configuration object to retrieve. The name corresponds to a configuration file. For \Drupal::config('book.admin') , the config object returned will contain the contents of book.admin configuration file. Return value \Drupal\Core\Config\Config|\Drupal\Core\Config\ImmutableConfig An editable configuration object if the given name is listed in the getEditableConfigNames() met