DrupalTranslator::$locale

The locale used for translating. Type: string File core/lib/Drupal/Core/Validation/DrupalTranslator.php, line 20 Class DrupalTranslator Translates strings using Drupal's translation system. Namespace Drupal\Core\Validation Code protected $locale;

BlockContentTranslationHandler::entityFormAlter

public BlockContentTranslationHandler::entityFormAlter(array &$form, FormStateInterface $form_state, EntityInterface $entity) Performs the needed alterations to the entity form. Parameters array $form: The entity form to be altered to provide the translation workflow. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. \Drupal\Core\Entity\EntityInterface $entity: The entity being created or edited. Overrides ContentTranslationHandler::entityFormAlter File core/

BlockInterface::getTheme

public BlockInterface::getTheme() Returns the theme ID. Return value string The theme ID for this block instance. File core/modules/block/src/BlockInterface.php, line 52 Class BlockInterface Provides an interface defining a block entity. Namespace Drupal\block Code public function getTheme();

Extension::serialize

public Extension::serialize() Implements Serializable::serialize(). Serializes the Extension object in the most optimized way. File core/lib/Drupal/Core/Extension/Extension.php, line 163 Class Extension Defines an extension (file) object. Namespace Drupal\Core\Extension Code public function serialize() { // Don't serialize the app root, since this could change if the install is // moved. $data = array( 'type' => $this->type, 'pathname' => $this->pathname,

template_preprocess_views_view_grouping

template_preprocess_views_view_grouping(&$variables) Prepares variables for views single grouping templates. Default template: views-view-grouping.html.twig. Parameters array $variables: An associative array containing: view: The view object. rows: The rows returned from the view. grouping_level: Integer indicating the hierarchical level of the grouping. content: The content to be grouped. title: The group heading. File core/modules/views/views.theme.inc, line 207 Preprocessors and

EntityType::isTranslatable

public EntityType::isTranslatable() Indicates whether entities of this type have multilingual support. At an entity level, this indicates language support and at a bundle level this indicates translation support. Return value bool Overrides EntityTypeInterface::isTranslatable File core/lib/Drupal/Core/Entity/EntityType.php, line 695 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code public function isTranslatable() { ret

KeyValueDatabaseExpirableFactory::$serializer

The serialization class to use. Type: \Drupal\Component\Serialization\SerializationInterface File core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php, line 25 Class KeyValueDatabaseExpirableFactory Defines the key/value store factory for the database backend. Namespace Drupal\Core\KeyValueStore Code protected $serializer;

PoStreamReader::$_header

The PO stream header. Type: \Drupal\Component\Gettext\PoHeader File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 77 Class PoStreamReader Implements Gettext PO stream reader. Namespace Drupal\Component\Gettext Code private $_header;

FileUsageBase

Defines the base class for database file usage backend. Hierarchy class \Drupal\file\FileUsage\FileUsageBase implements FileUsageInterface File core/modules/file/src/FileUsage/FileUsageBase.php, line 10 Namespace Drupal\file\FileUsage Members Name Modifiers Type Description FileUsageBase::add public function Records that a module is using a file. Overrides FileUsageInterface::add FileUsageBase::delete public function Removes a record to indicate that a module is

BookManager::bookTreeBuild

protected BookManager::bookTreeBuild($bid, array $parameters = array()) Builds a book tree, translates links, and checks access. Parameters int $bid: The Book ID to find links for. array $parameters: (optional) An associative array of build parameters. Possible keys: expanded: An array of parent link IDs to return only book links that are children of one of the parent link IDs in this list. If empty, the whole outline is built, unless 'only_active_trail' is TRUE. active_trail: An array of no