CssCollectionOptimizer::deleteAll

public CssCollectionOptimizer::deleteAll() Deletes all optimized asset collections assets. Overrides AssetCollectionOptimizerInterface::deleteAll File core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php, line 175 Class CssCollectionOptimizer Optimizes CSS assets. Namespace Drupal\Core\Asset Code public function deleteAll() { $this->state->delete('drupal_css_cache_files'); $delete_stale = function($uri) { // Default stale file threshold is 30 days. if (REQUEST_TIME

Translation::get

public Translation::get() Gets the value of an annotation. Overrides AnnotationInterface::get File core/lib/Drupal/Core/Annotation/Translation.php, line 90 Class Translation Defines a translatable annotation object. Namespace Drupal\Core\Annotation Code public function get() { return $this->translation; }

outside_in_element_info_alter

outside_in_element_info_alter(&$type) Implements hook_element_info_alter(). File core/modules/outside_in/outside_in.module, line 63 Allows configuring blocks and other configuration from the site front-end. Code function outside_in_element_info_alter(&$type) { if (isset($type['page'])) { $type['page']['#theme_wrappers']['outside_in_page_wrapper'] = ['#weight' => -1000]; } }

ForumController::$nodeEntityTypeDefinition

Node entity type, we need to get cache tags from here. Type: \Drupal\Core\Entity\EntityTypeInterface File core/modules/forum/src/Controller/ForumController.php, line 78 Class ForumController Controller routines for forum routes. Namespace Drupal\forum\Controller Code protected $nodeEntityTypeDefinition;

CompiledRoute::getPatternOutline

public CompiledRoute::getPatternOutline() Returns the pattern outline of this route. The pattern outline of a route is the path pattern of the route, but normalized such that all placeholders are replaced with %. Return value string The normalized path pattern. File core/lib/Drupal/Core/Routing/CompiledRoute.php, line 106 Class CompiledRoute A compiled route contains derived information from a route object. Namespace Drupal\Core\Routing Code public function getPatternOutline() { ret

FieldType::$category

The category under which the field type should be listed in the UI. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/lib/Drupal/Core/Field/Annotation/FieldType.php, line 58 Class FieldType Defines a FieldType annotation object. Namespace Drupal\Core\Field\Annotation Code public $category = '';

NodeModerationHandler

Customizations for node entities. Hierarchy class \Drupal\content_moderation\Entity\Handler\ModerationHandler implements ModerationHandlerInterface, EntityHandlerInterface uses StringTranslationTraitclass \Drupal\content_moderation\Entity\Handler\NodeModerationHandler File core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php, line 11 Namespace Drupal\content_moderation\Entity\Handler Members Name Modifiers Type Description ModerationHandler::createInst

locale.fetch.inc

The API for download and import of translations from remote and local sources. File core/modules/locale/locale.fetch.inc Functions Name Description locale_translation_batch_fetch_build Builds a batch to download and import project translations. locale_translation_batch_update_build Builds a batch to check, download and import project translations. _locale_translation_fetch_operations Helper function to construct the batch operations to fetch translations.

FieldConfigBase::isTranslatable

public FieldConfigBase::isTranslatable() Returns whether the field is translatable. Return value bool TRUE if the field is translatable. Overrides FieldDefinitionInterface::isTranslatable File core/lib/Drupal/Core/Field/FieldConfigBase.php, line 319 Class FieldConfigBase Base class for configurable field definitions. Namespace Drupal\Core\Field Code public function isTranslatable() { // A field can be enabled for translation only if translation is supported. return $this->trans

BubbleableMetadata::merge

public BubbleableMetadata::merge(CacheableMetadata $other) Merges the values of another bubbleable metadata object with this one. Parameters \Drupal\Core\Cache\CacheableMetadata $other: The other bubbleable metadata object. Return value static A new bubbleable metadata object, with the merged data. Overrides CacheableMetadata::merge File core/lib/Drupal/Core/Render/BubbleableMetadata.php, line 26 Class BubbleableMetadata Value object used for bubbleable rendering metadata. Namespace D