menu_primary_local_tasks

menu_primary_local_tasks() Returns the rendered local tasks at the top level. Deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. Related topics Menu system Define the navigation menus, local actions and tasks, and contextual links. File core/includes/menu.inc, line 122 API for the Drupal menu system. Code function menu_primary_local_tasks() { /** @var \Drupal\Core\Menu\LocalTaskManagerInterface $manager */ $manager = \Drupal::service('plugin.manager.menu.local_task');

PhpStreamWrapperInterface::stream_close

public PhpStreamWrapperInterface::stream_close() Closes stream. File core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php, line 69 Class PhpStreamWrapperInterface Defines a generic PHP stream wrapper interface. Namespace Drupal\Core\StreamWrapper Code public function stream_close();

DefaultExceptionHtmlSubscriber::__construct

public DefaultExceptionHtmlSubscriber::__construct(HttpKernelInterface $http_kernel, LoggerInterface $logger, RedirectDestinationInterface $redirect_destination, UrlMatcherInterface $access_unaware_router) Constructs a new DefaultExceptionHtmlSubscriber. Parameters \Symfony\Component\HttpKernel\HttpKernelInterface $http_kernel: The HTTP kernel. \Psr\Log\LoggerInterface $logger: The logger service. \Drupal\Core\Routing\RedirectDestinationInterface $redirect_destination: The redirect destination

MaintenanceModeSubscriber::$urlGenerator

The url generator. Type: \Drupal\Core\Routing\UrlGeneratorInterface File core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php, line 52 Class MaintenanceModeSubscriber Maintenance mode subscriber for controller requests. Namespace Drupal\Core\EventSubscriber Code protected $urlGenerator;

DefaultMenuLinkTreeManipulators::$accessManager

The access manager. Type: \Drupal\Core\Access\AccessManagerInterface File core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php, line 26 Class DefaultMenuLinkTreeManipulators Provides a couple of menu link tree manipulators. Namespace Drupal\Core\Menu Code protected $accessManager;

PathBasedBreadcrumbBuilder::$config

Site config object. Type: \Drupal\Core\Config\Config File core/modules/system/src/PathBasedBreadcrumbBuilder.php, line 66 Class PathBasedBreadcrumbBuilder Class to define the menu_link breadcrumb builder. Namespace Drupal\system Code protected $config;

PluralTranslatableMarkup::$translatedString

The already translated string. Type: string File core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php, line 31 Class PluralTranslatableMarkup A class to hold plural translatable markup. Namespace Drupal\Core\StringTranslation Code protected $translatedString;

Container::setParameter

public Container::setParameter($name, $value) File core/lib/Drupal/Component/DependencyInjection/Container.php, line 404 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code public function setParameter($name, $value) { if ($this->frozen) { throw new LogicException('Impossible to call set() on a frozen ParameterBag.'); } $this->parameters[$name] = $value; }

CacheCollectorInterface::reset

public CacheCollectorInterface::reset() Resets the local cache. Does not clear the persistent cache. File core/lib/Drupal/Core/Cache/CacheCollectorInterface.php, line 69 Class CacheCollectorInterface Provides a caching wrapper to be used in place of large structures. Namespace Drupal\Core\Cache Code public function reset();

FormStateInterface::getTemporaryValue

public &FormStateInterface::getTemporaryValue($key) Gets an arbitrary value from temporary storage. Parameters string|array $key: Properties are often stored as multi-dimensional associative arrays. If $key is a string, it will return $temporary[$key]. If $key is an array, each element of the array will be used as a nested key. If $key = ['foo', 'bar'] it will return $temporary['foo']['bar']. Return value mixed A reference to the value for that key, or NULL if the property does not exist.