MenuLinkInterface::getWeight

public MenuLinkInterface::getWeight() Returns the weight of the menu link. Return value int The weight of the menu link, 0 by default. File core/lib/Drupal/Core/Menu/MenuLinkInterface.php, line 20 Class MenuLinkInterface Defines an interface for classes providing a type of menu link. Namespace Drupal\Core\Menu Code public function getWeight();

PoItem::formatSingular

private PoItem::formatSingular() Formats a singular translation. File core/lib/Drupal/Component/Gettext/PoItem.php, line 252 Class PoItem PoItem handles one translation. Namespace Drupal\Component\Gettext Code private function formatSingular() { $output = ''; $output .= 'msgid ' . $this->formatString($this->_source); $output .= 'msgstr ' . (isset($this->_translation) ? $this->formatString($this->_translation) : '""'); return $output; }

FileCacheFactory::getPrefix

public static FileCacheFactory::getPrefix() Returns the cache prefix. Return value string The cache prefix. File core/lib/Drupal/Component/FileCache/FileCacheFactory.php, line 102 Class FileCacheFactory Creates a FileCache object. Namespace Drupal\Component\FileCache Code public static function getPrefix() { return static::$prefix; }

EntityViewBuilder::getBuildDefaults

protected EntityViewBuilder::getBuildDefaults(EntityInterface $entity, $view_mode) Provides entity-specific defaults to the build process. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for which the defaults should be provided. string $view_mode: The view mode that should be used. Return value array File core/lib/Drupal/Core/Entity/EntityViewBuilder.php, line 145 Class EntityViewBuilder Base class for entity view builders. Namespace Drupal\Core\Entity Code protec

LocalTaskManager::getDefinitions

public LocalTaskManager::getDefinitions() Gets the definition of all plugins for this type. Return value mixed[] An array of plugin definitions (empty array if no definitions were found). Keys are plugin IDs. Overrides DefaultPluginManager::getDefinitions File core/lib/Drupal/Core/Menu/LocalTaskManager.php, line 180 Class LocalTaskManager Provides the default local task manager using YML as primary definition. Namespace Drupal\Core\Menu Code public function getDefinitions() { $defin

MessageInterface

Provides an interface defining a contact message entity. Hierarchy interface \Drupal\Core\Entity\FieldableEntityInterface; interface \Drupal\Core\Entity\RevisionableInterface; interface \Drupal\Core\TypedData\TranslatableInterfaceinterface \Drupal\Core\Entity\ContentEntityInterface extends \Traversableinterface \Drupal\contact\MessageInterface File core/modules/contact/src/MessageInterface.php, line 10 Namespace Drupal\contact Members Name Modifiers Type Description Accessib

IMAGE_DERIVATIVE_TOKEN

The name of the query parameter for image derivative tokens. File core/modules/image/image.module, line 53 Exposes global functionality for creating image styles. Code define('IMAGE_DERIVATIVE_TOKEN', 'itok')

ActiveTheme::getRegions

public ActiveTheme::getRegions() The regions used by the theme. Return value string[] The list of region machine names supported by the theme. See also system_region_list() File core/lib/Drupal/Core/Theme/ActiveTheme.php, line 205 Class ActiveTheme Defines a theme and its information needed at runtime. Namespace Drupal\Core\Theme Code public function getRegions() { return array_keys($this->regions); }

PoMetadataInterface::getHeader

public PoMetadataInterface::getHeader() Get header metadata. Return value \Drupal\Component\Gettext\PoHeader $header Header instance representing metadata in a PO header. File core/lib/Drupal/Component/Gettext/PoMetadataInterface.php, line 43 Class PoMetadataInterface Methods required for both reader and writer implementations. Namespace Drupal\Component\Gettext Code public function getHeader();

EntityOperations::create

public static EntityOperations::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service