LanguageInterface::TYPE_INTERFACE

The type of language used to select the user interface. File core/lib/Drupal/Core/Language/LanguageInterface.php, line 82 Class LanguageInterface Defines a language. Namespace Drupal\Core\Language Code const TYPE_INTERFACE = 'language_interface';

Menu::$description

The menu description. Type: string File core/modules/system/src/Entity/Menu.php, line 51 Class Menu Defines the Menu configuration entity class. Namespace Drupal\system\Entity Code protected $description;

DateTimePlus::render

public DateTimePlus::render() Renders the timezone name. Return value string Overrides ToStringTrait::render File core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 295 Class DateTimePlus Wraps DateTime(). Namespace Drupal\Component\Datetime Code public function render() { return $this->format(static::FORMAT) . ' ' . $this->getTimeZone()->getName(); }

EntityLastInstalledSchemaRepository::__construct

public EntityLastInstalledSchemaRepository::__construct(KeyValueFactoryInterface $key_value_factory) Constructs a new EntityLastInstalledSchemaRepository. Parameters \Drupal\Core\KeyValueStore\KeyValueFactoryInterface $key_value_factory: The key-value factory. File core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepository.php, line 26 Class EntityLastInstalledSchemaRepository Provides a repository for installed entity definitions. Namespace Drupal\Core\Entity Code public functio

BlockContent::setInfo

public BlockContent::setInfo($info) Sets the block description. Parameters string $info: The block description. Return value \Drupal\block_content\BlockContentInterface The class instance that this method is called on. Overrides BlockContentInterface::setInfo File core/modules/block_content/src/Entity/BlockContent.php, line 224 Class BlockContent Defines the custom block entity class. Namespace Drupal\block_content\Entity Code public function setInfo($info) { $this->set('info',

FormState::getTemporary

public FormState::getTemporary() Gets temporary data. Return value array Temporary data accessible during the current page request only. Overrides FormStateInterface::getTemporary File core/lib/Drupal/Core/Form/FormState.php, line 780 Class FormState Stores information about the state of a form. Namespace Drupal\Core\Form Code public function getTemporary() { return $this->temporary; }

CommentStorageInterface::getChildCids

public CommentStorageInterface::getChildCids(array $comments) Gets the comment ids of the passed comment entities' children. Parameters \Drupal\comment\CommentInterface[] $comments: An array of comment entities keyed by their ids. Return value array The entity ids of the passed comment entities' children as an array. File core/modules/comment/src/CommentStorageInterface.php, line 81 Class CommentStorageInterface Defines an interface for comment entity storage classes. Namespace Drupal

RendererInterface::renderPlain

public RendererInterface::renderPlain(&$elements) Renders final HTML in situations where no assets are needed. Calls ::render() in such a way that placeholders are replaced. Useful for instance when rendering the values of tokens or emails, which need a render array being turned into a string, but do not need any of the bubbleable metadata (the attached assets and cache tags). Some of these are a relatively common use case and happen *within* a ::renderRoot() call, but that is generally hig

hook_hook_info

hook_hook_info() Defines one or more hooks that are exposed by a module. Normally hooks do not need to be explicitly defined. However, by declaring a hook explicitly, a module may define a "group" for it. Modules that implement a hook may then place their implementation in either $module.module or in $module.$group.inc. If the hook is located in $module.$group.inc, then that file will be automatically loaded when needed. In general, hooks that are rarely invoked and/or are very large should be

SearchQuery::$type

The type of search (search type). This maps to the value of the type column in search_index, and is usually equal to the machine-readable name of the plugin or the search page. Type: string File core/modules/search/src/SearchQuery.php, line 92 Class SearchQuery Search query extender and helper functions. Namespace Drupal\search Code protected $type;