Url::setOptions

public Url::setOptions($options) Sets the URL options. Parameters array $options: The array of options. See \Drupal\Core\Url::fromUri() for details on what it contains. Return value $this File core/lib/Drupal/Core/Url.php, line 655 Class Url Defines an object that holds information about a URL. Namespace Drupal\Core Code public function setOptions($options) { $this->options = $options; return $this; }

Url::getOptions

public Url::getOptions() Returns the URL options. Return value array The array of options. See \Drupal\Core\Url::fromUri() for details on what it contains. File core/lib/Drupal/Core/Url.php, line 623 Class Url Defines an object that holds information about a URL. Namespace Drupal\Core Code public function getOptions() { return $this->options; }

DenyPrivateImageStyleDownload::$routeMatch

The current route match. Type: \Drupal\Core\Routing\RouteMatchInterface File core/modules/image/src/PageCache/DenyPrivateImageStyleDownload.php, line 23 Class DenyPrivateImageStyleDownload Cache policy for image preview page. Namespace Drupal\image\PageCache Code protected $routeMatch;

Url::getRouteName

public Url::getRouteName() Returns the route name. Return value string Throws \UnexpectedValueException. If this is a URI with no corresponding route. File core/lib/Drupal/Core/Url.php, line 552 Class Url Defines an object that holds information about a URL. Namespace Drupal\Core Code public function getRouteName() { if ($this->unrouted) { throw new \UnexpectedValueException('External URLs do not have an internal route name.'); } return $this->routeName; }

FieldableEntityInterface

Interface for entities having fields. This interface builds upon the general interfaces provided by the typed data API, while extending them with entity-specific additions. I.e., fieldable entities implement the ComplexDataInterface among others, thus it is complex data containing fields as its data properties. The contained fields have to implement \Drupal\Core\Field\FieldItemListInterface, which builds upon typed data interfaces as well. When implementing this interface which extends Traversa

ConfigImportSubscriber::onConfigImporterValidate

public ConfigImportSubscriber::onConfigImporterValidate(ConfigImporterEvent $event) Validates the configuration to be imported. Parameters \Drupal\Core\Config\ConfigImporterEvent $event: The Event to process. Throws \Drupal\Core\Config\ConfigNameException Overrides ConfigImportValidateEventSubscriberBase::onConfigImporterValidate File core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php, line 57 Class ConfigImportSubscriber Config import subscriber for config import events.

BlockAccessControlHandler::$manager

The condition plugin manager. Type: \Drupal\Core\Executable\ExecutableManagerInterface File core/modules/block/src/BlockAccessControlHandler.php, line 35 Class BlockAccessControlHandler Defines the access control handler for the block entity type. Namespace Drupal\block Code protected $manager;

MenuLinkManager::$moduleHandler

The module handler. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/lib/Drupal/Core/Menu/MenuLinkManager.php, line 95 Class MenuLinkManager Manages discovery, instantiation, and tree building of menu link plugins. Namespace Drupal\Core\Menu Code protected $moduleHandler;

template_preprocess_block

template_preprocess_block(&$variables) Prepares variables for block templates. Default template: block.html.twig. Prepares the values passed to the theme_block function to be passed into a pluggable template engine. Uses block properties to generate a series of template file suggestions. If none are found, the default block.html.twig is used. Most themes use their own copy of block.html.twig. The default is located inside "core/modules/block/templates/block.html.twig". Look in there for the

Schema::getComment

public Schema::getComment($table, $column = NULL) Retrieve a table or column comment. File core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php, line 826 Class Schema PostgreSQL implementation of \Drupal\Core\Database\Schema. Namespace Drupal\Core\Database\Driver\pgsql Code public function getComment($table, $column = NULL) { $info = $this->getPrefixInfo($table); // Don't use {} around pg_class, pg_attribute tables. if (isset($column)) { return $this->connection->qu