Yaml::getFileExtension

public static Yaml::getFileExtension() Gets the file extension for this serialization format. Return value string The file extension, without leading dot. Overrides SerializationInterface::getFileExtension File core/lib/Drupal/Component/Serialization/Yaml.php, line 41 Class Yaml Provides a YAML serialization implementation. Namespace Drupal\Component\Serialization Code public static function getFileExtension() { return 'yml'; }

RequestContext::$completeBaseUrl

The scheme, host and base path, for example "http://example.com/d8". Type: string File core/lib/Drupal/Core/Routing/RequestContext.php, line 22 Class RequestContext Holds information about the current request. Namespace Drupal\Core\Routing Code protected $completeBaseUrl;

file_default_scheme

file_default_scheme() Gets the default file stream implementation. Return value string 'public', 'private' or any other file scheme defined as the default. Related topics File interface Common file handling functions. File core/includes/file.inc, line 124 API for handling file uploads and server file management. Code function file_default_scheme() { return \Drupal::config('system.file')->get('default_scheme'); }

RefinableCacheableDependencyInterface::mergeCacheMaxAge

public RefinableCacheableDependencyInterface::mergeCacheMaxAge($max_age) Merges the maximum age (in seconds) with the existing maximum age. The max age will be set to the given value if it is lower than the existing value. Parameters int $max_age: The max age to associate. Return value $this Throws \InvalidArgumentException Thrown if a non-integer value is supplied. File core/lib/Drupal/Core/Cache/RefinableCacheableDependencyInterface.php, line 49 Class RefinableCacheableDependencyInterf

BaseFieldDefinition::$schema

The field schema. Type: array File core/lib/Drupal/Core/Field/BaseFieldDefinition.php, line 40 Class BaseFieldDefinition A class for defining entity fields. Namespace Drupal\Core\Field Code protected $schema;

LinkManagerBase::getLinkDomain

protected LinkManagerBase::getLinkDomain() Gets the link domain. Return value string The link domain. File core/modules/rest/src/LinkManager/LinkManagerBase.php, line 45 Class LinkManagerBase Defines an abstract base-class for REST link manager objects. Namespace Drupal\rest\LinkManager Code protected function getLinkDomain() { if (empty($this->linkDomain)) { if ($domain = $this->configFactory->get('rest.settings')->get('link_domain')) { $this->linkDomain =

ConfigurableLanguageManager::getLanguageSwitchLinks

public ConfigurableLanguageManager::getLanguageSwitchLinks($type, Url $url) Returns the language switch links for the given language type. Parameters string $type: The language type. \Drupal\Core\Url $url: The URL the switch links will be relative to. Return value array A keyed array of links ready to be themed. Overrides LanguageManager::getLanguageSwitchLinks File core/modules/language/src/ConfigurableLanguageManager.php, line 405 Class ConfigurableLanguageManager Overrides default Lan

QueueWorker::$title

The human-readable title of the plugin. 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/Annotation/QueueWorker.php, line 52 Class QueueWorker Declare a worker class for processing a queue item. Namespace Drupal\Core\Annotation Code public $title;

ContactFormInterface::getWeight

public ContactFormInterface::getWeight() Returns the weight of this category (used for sorting). Return value int The weight of this category. File core/modules/contact/src/ContactFormInterface.php, line 60 Class ContactFormInterface Provides an interface defining a contact form entity. Namespace Drupal\contact Code public function getWeight();

LanguagesCacheContext::__construct

public LanguagesCacheContext::__construct(LanguageManagerInterface $language_manager) Constructs a new LanguagesCacheContext service. Parameters \Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager. File core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php, line 26 Class LanguagesCacheContext Defines the LanguagesCacheContext service, for "per language" caching. Namespace Drupal\Core\Cache\Context Code public function __construct(LanguageManag