PoStreamReader::getURI

public PoStreamReader::getURI() Gets the URI of the PO stream that is being read or written. Return value URI string for this stream. Overrides PoStreamInterface::getURI File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 132 Class PoStreamReader Implements Gettext PO stream reader. Namespace Drupal\Component\Gettext Code public function getURI() { return $this->_uri; }

ExtensionDiscovery::setProfileDirectories

public ExtensionDiscovery::setProfileDirectories(array $paths = NULL) Sets explicit profile directories to scan. Parameters array $paths: A list of installation profile directory paths relative to the system root directory (without trailing slash) to search for extensions. Return value $this File core/lib/Drupal/Core/Extension/ExtensionDiscovery.php, line 276 Class ExtensionDiscovery Discovers available extensions in the filesystem. Namespace Drupal\Core\Extension Code public functio

Term::getFormat

public Term::getFormat() Gets the text format name for the term's description. Return value string The text format name. Overrides TermInterface::getFormat File core/modules/taxonomy/src/Entity/Term.php, line 188 Class Term Defines the taxonomy term entity. Namespace Drupal\taxonomy\Entity Code public function getFormat() { return $this->get('description')->format; }

MenuLinkContentStorageSchema::getSharedTableFieldSchema

protected MenuLinkContentStorageSchema::getSharedTableFieldSchema(FieldStorageDefinitionInterface $storage_definition, $table_name, array $column_mapping) Gets the schema for a single field definition. Entity types may override this method in order to optimize the generated schema for given field. While all optimizations that apply to a single field have to be added here, all cross-field optimizations should be via SqlContentEntityStorageSchema::getEntitySchema() instead; e.g., an index spannin

DataDefinition::createFromDataType

public static DataDefinition::createFromDataType($type) Creates a new data definition object. This method is typically used by \Drupal\Core\TypedData\TypedDataManager::createDataDefinition() to build a definition object for an arbitrary data type. When the definition class is known, it is recommended to directly use the static create() method on that class instead; e.g.: $map_definition = \Drupal\Core\TypedData\MapDataDefinition::create(); Parameters string $data_type: The data type, for wh

file_url_transform_relative

file_url_transform_relative($file_url) Transforms an absolute URL of a local file to a relative URL. May be useful to prevent problems on multisite set-ups and prevent mixed content errors when using HTTPS + HTTP. Parameters string $file_url: A file URL of a local file as generated by file_create_url(). Return value string If the file URL indeed pointed to a local file and was indeed absolute, then the transformed, relative URL to the local file. Otherwise: the original value of $file_url. Se

LocalTaskDefault::getOptions

public LocalTaskDefault::getOptions(RouteMatchInterface $route_match) Returns options for rendering a link to the local task. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match. Return value array An associative array of options. Overrides LocalTaskInterface::getOptions File core/lib/Drupal/Core/Menu/LocalTaskDefault.php, line 105 Class LocalTaskDefault Default object used for LocalTaskPlugins. Namespace Drupal\Core\Menu Code public function get

ViewsQuery::$help

A short help string; this is displayed in the views UI. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/views/src/Annotation/ViewsQuery.php, line 48 Class ViewsQuery Defines a Plugin annotation object for views query plugins. Namespace Drupal\views\Annotation Code public $help = '';

RouteMatch::getRouteObject

public RouteMatch::getRouteObject() Returns the route object. Return value \Symfony\Component\Routing\Route|null The route object. NULL if no route is matched. Overrides RouteMatchInterface::getRouteObject File core/lib/Drupal/Core/Routing/RouteMatch.php, line 105 Class RouteMatch Default object representing the results of routing. Namespace Drupal\Core\Routing Code public function getRouteObject() { return $this->route; }

RequestContext

Holds information about the current request. @todo: Remove once the upstream RequestContext provides fromRequestStack(): https://github.com/symfony/symfony/issues/12057 Hierarchy class \Symfony\Component\Routing\RequestContextclass \Drupal\Core\Routing\RequestContext File core/lib/Drupal/Core/Routing/RequestContext.php, line 15 Namespace Drupal\Core\Routing Members Name Modifiers Type Description RequestContext::$baseUrl private property RequestContext::$completeBaseU