CacheContextInterface::getCacheableMetadata

public CacheContextInterface::getCacheableMetadata() Gets the cacheability metadata for the context. There are three valid cases for the returned CacheableMetadata object: An empty object means this can be optimized away safely. A max-age of 0 means that this context can never be optimized away. It will never bubble up and cache tags will not be used. Any non-zero max-age and cache tags will bubble up into the cache item if this is optimized away to allow for invalidation if the context value c

ImageStyle::$label

The image style label. Type: string File core/modules/image/src/Entity/ImageStyle.php, line 69 Class ImageStyle Defines an image style configuration entity. Namespace Drupal\image\Entity Code protected $label;

EntityType::$additional

Any additional properties and values. Type: array File core/lib/Drupal/Core/Entity/EntityType.php, line 267 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code protected $additional = [];

Schema::$defaultSchema

Override DatabaseSchema::$defaultSchema Overrides Schema::$defaultSchema File core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php, line 23 Class Schema SQLite implementation of \Drupal\Core\Database\Schema. Namespace Drupal\Core\Database\Driver\sqlite Code protected $defaultSchema = 'main';

PoStreamReader::getSeek

public PoStreamReader::getSeek() Gets the pointer position of the current PO stream. File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 205 Class PoStreamReader Implements Gettext PO stream reader. Namespace Drupal\Component\Gettext Code public function getSeek() { return ftell($this->_fd); }

content_translation.module

Allows entities to be translated into different languages. File core/modules/content_translation/content_translation.module Functions Name Description content_translation_element_info_alter Implements hook_element_info_alter(). content_translation_enable_widget Returns a widget to enable content translation per entity bundle. content_translation_entity_base_field_info Implements hook_entity_base_field_info(). content_translation_entity_bundle_info_alter Implements hook_ent

ConfigTranslationFormBase

Provides a base form for configuration translations. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\config_translation\Form\ConfigTranslationFormBase implements BaseFormIdInterface File core/modules/config_translation/src/Form/ConfigTranslationFormBase.php, line 19 Namespace Drupal\co

FieldConfigInterface

Defines an interface for configurable field definitions. This interface allows both configurable fields and overridden base fields to share a common interface. The interface also extends ConfigEntityInterface to ensure that implementations have the expected save() method. Hierarchy interface \Drupal\Core\Field\FieldDefinitionInterface; interface \Drupal\Core\Config\Entity\ConfigEntityInterfaceinterface \Drupal\Core\Field\FieldConfigInterface See also \Drupal\Core\Field\Entity\BaseFieldOver

BaseCommand::__construct

public BaseCommand::__construct($command, $data) Constructs a BaseCommand object. Parameters string $command: The name of the command. string $data: The data to pass on to the client side. File core/lib/Drupal/Core/Ajax/BaseCommand.php, line 32 Class BaseCommand Base command that only exists to simplify AJAX commands. Namespace Drupal\Core\Ajax Code public function __construct($command, $data) { $this->command = $command; $this->data = $data; }

ViewEditForm::getFormBucket

public ViewEditForm::getFormBucket(ViewUI $view, $type, $display) Add information about a section to a display. File core/modules/views_ui/src/ViewEditForm.php, line 912 Class ViewEditForm Form controller for the Views edit form. Namespace Drupal\views_ui Code public function getFormBucket(ViewUI $view, $type, $display) { $executable = $view->getExecutable(); $executable->setDisplay($display['id']); $executable->initStyle(); $types = $executable->getHandlerTypes();