install_full_redirect_url

install_full_redirect_url($install_state) Returns the complete URL redirected to during an installation request. Parameters $install_state: An array of information about the current installation state. Return value The complete URL to redirect to. See also install_redirect_url() File core/includes/install.core.inc, line 944 API functions for installing Drupal. Code function install_full_redirect_url($install_state) { global $base_url; return $base_url . '/' . install_redirect_url($inst

MenuRouterRebuildSubscriber::menuLinksRebuild

protected MenuRouterRebuildSubscriber::menuLinksRebuild() Perform menu-specific rebuilding. File core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php, line 56 Class MenuRouterRebuildSubscriber Rebuilds the default menu links and runs menu-specific code if necessary. Namespace Drupal\Core\EventSubscriber Code protected function menuLinksRebuild() { if ($this->lock->acquire(__FUNCTION__)) { $transaction = db_transaction(); try { // Ensure the menu li

FieldConfigEditForm::$entity

The entity being used by this form. Type: \Drupal\field\FieldConfigInterface Overrides EntityForm::$entity File core/modules/field_ui/src/Form/FieldConfigEditForm.php, line 25 Class FieldConfigEditForm Provides a form for the field settings form. Namespace Drupal\field_ui\Form Code protected $entity;

MenuLinkTree::$menuActiveTrail

The active menu trail service. Type: \Drupal\Core\Menu\MenuActiveTrailInterface File core/lib/Drupal/Core/Menu/MenuLinkTree.php, line 36 Class MenuLinkTree Implements the loading, transforming and rendering of menu link trees. Namespace Drupal\Core\Menu Code protected $menuActiveTrail;

Schema::dropUniqueKey

public Schema::dropUniqueKey($table, $name) Drop a unique key. Parameters $table: The table to be altered. $name: The name of the key. Return value TRUE if the key was successfully dropped, FALSE if there was no key by that name to begin with. Overrides Schema::dropUniqueKey File core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php, line 654 Class Schema PostgreSQL implementation of \Drupal\Core\Database\Schema. Namespace Drupal\Core\Database\Driver\pgsql Code public function dropUn

Link

Provides a link render element. Properties: #title: The link text. #url: \Drupal\Url object containing URL information pointing to a internal or external link . See \Drupal\Core\Utility\LinkGeneratorInterface. Usage example: $build['examples_link'] = [ '#title' => $this->t('Examples'), '#type' => 'link', '#url' => Url::fromRoute('examples.description') ]; Plugin annotation @RenderElement("link") Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeIns

SourceString::isSource

public SourceString::isSource() Checks whether the object is a source string. Return value bool TRUE if the object is a source string, FALSE otherwise. Overrides StringInterface::isSource File core/modules/locale/src/SourceString.php, line 16 Class SourceString Defines the locale source string object. Namespace Drupal\locale Code public function isSource() { return isset($this->source); }

CsrfTokenController::__construct

public CsrfTokenController::__construct(CsrfTokenGenerator $token_generator) Constructs a new CsrfTokenController object. Parameters \Drupal\Core\Access\CsrfTokenGenerator $token_generator: The CSRF token generator. File core/modules/system/src/Controller/CsrfTokenController.php, line 29 Class CsrfTokenController Returns responses for CSRF token routes. Namespace Drupal\system\Controller Code public function __construct(CsrfTokenGenerator $token_generator) { $this->tokenGenerator

ContentEntityBase::$validationRequired

Whether entity validation is required before saving the entity. Type: bool File core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 163 Class ContentEntityBase Implements Entity Field API specific enhancements to the Entity class. Namespace Drupal\Core\Entity Code protected $validationRequired = FALSE;

file_default_scheme

file_default_scheme() Gets the default file stream implementation. Return value string 'public', 'private' or any other file scheme defined as the default. Related topics File interface Common file handling functions. File core/includes/file.inc, line 124 API for handling file uploads and server file management. Code function file_default_scheme() { return \Drupal::config('system.file')->get('default_scheme'); }