PoHeader::getProjectName

PoHeader::getProjectName() Gets the project name. Return value string The human readable project name. File core/lib/Drupal/Component/Gettext/PoHeader.php, line 128 Class PoHeader Gettext PO header handler. Namespace Drupal\Component\Gettext Code function getProjectName() { return $this->_projectName; }

CssOptimizer::loadNestedFile

protected CssOptimizer::loadNestedFile($matches) Loads stylesheets recursively and returns contents with corrected paths. This function is used for recursive loading of stylesheets and returns the stylesheet content with all url() paths corrected. Parameters array $matches: An array of matches by a preg_replace_callback() call that scans for @import-ed CSS files, except for external CSS files. Return value The contents of the CSS file at $matches[1], with corrected paths. See also \Drupal\Co

AssetCollectionRendererInterface

Interface defining a service that generates a render array to render assets. Hierarchy interface \Drupal\Core\Asset\AssetCollectionRendererInterface File core/lib/Drupal/Core/Asset/AssetCollectionRendererInterface.php, line 8 Namespace Drupal\Core\Asset Members Name Modifiers Type Description AssetCollectionRendererInterface::render public function Renders an asset collection.

LanguageNegotiator::negotiateLanguage

protected LanguageNegotiator::negotiateLanguage($type, $method_id) Performs language negotiation using the specified negotiation method. Parameters string $type: The language type to be initialized. string $method_id: The string identifier of the language negotiation method to use to detect language. Return value \Drupal\Core\Language\LanguageInterface|null Negotiated language object for given type and method, FALSE otherwise. File core/modules/language/src/LanguageNegotiator.php, line 181

ItemInterface::getAuthor

public ItemInterface::getAuthor() Returns the author of the feed item. Return value string The author of the feed item. File core/modules/aggregator/src/ItemInterface.php, line 75 Class ItemInterface Provides an interface defining an aggregator item entity. Namespace Drupal\aggregator Code public function getAuthor();

MenuLinkContentInterface::isEnabled

public MenuLinkContentInterface::isEnabled() Returns whether the menu link is marked as enabled. Return value bool TRUE if is enabled, otherwise FALSE. File core/modules/menu_link_content/src/MenuLinkContentInterface.php, line 64 Class MenuLinkContentInterface Defines an interface for custom menu links. Namespace Drupal\menu_link_content Code public function isEnabled();

EntityFormInterface::setEntity

public EntityFormInterface::setEntity(EntityInterface $entity) Sets the form entity. Sets the form entity which will be used for populating form element defaults. Usually, the form entity gets updated by \Drupal\Core\Entity\EntityFormInterface::submit(), however this may be used to completely exchange the form entity, e.g. when preparing the rebuild of a multi-step form. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity the current form should operate upon. Return value $this

LocalActionInterface::getRouteParameters

public LocalActionInterface::getRouteParameters(RouteMatchInterface $route_match) Returns the route parameters needed to render a link for the local action. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match. Return value array An array of parameter names and values. File core/lib/Drupal/Core/Menu/LocalActionInterface.php, line 29 Class LocalActionInterface Defines an interface for menu local actions. Namespace Drupal\Core\Menu Code public funct

UserAuthenticationController::$routeProvider

The route provider. Type: \Drupal\Core\Routing\RouteProviderInterface File core/modules/user/src/Controller/UserAuthenticationController.php, line 73 Class UserAuthenticationController Provides controllers for login, login status and logout via HTTP requests. Namespace Drupal\user\Controller Code protected $routeProvider;

LanguageFormBase

Base form for language add and edit forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\language\Form\LanguageFormBase File core/modules/language/src/Form/LanguageFormBase.php, line 15 Namespace Drupal\language\Form