MenuLinkContentForm::$pathValidator

The path validator. Type: \Drupal\Core\Path\PathValidatorInterface File core/modules/menu_link_content/src/Form/MenuLinkContentForm.php, line 37 Class MenuLinkContentForm Provides a form to add/update content menu links. Namespace Drupal\menu_link_content\Form Code protected $pathValidator;

FieldItemBase::defaultFieldSettings

public static FieldItemBase::defaultFieldSettings() Defines the field-level settings for this plugin. Return value array A list of default settings, keyed by the setting name. Overrides FieldItemInterface::defaultFieldSettings File core/lib/Drupal/Core/Field/FieldItemBase.php, line 32 Class FieldItemBase An entity field item. Namespace Drupal\Core\Field Code public static function defaultFieldSettings() { return array(); }

PasswordConfirm::processPasswordConfirm

public static PasswordConfirm::processPasswordConfirm(&$element, FormStateInterface $form_state, &$complete_form) Expand a password_confirm field into two text boxes. File core/lib/Drupal/Core/Render/Element/PasswordConfirm.php, line 67 Class PasswordConfirm Provides a form element for double-input of passwords. Namespace Drupal\Core\Render\Element Code public static function processPasswordConfirm(&$element, FormStateInterface $form_state, &$complete_form) { $element

ExportForm::__construct

public ExportForm::__construct(LanguageManagerInterface $language_manager) Constructs a new ExportForm. Parameters \Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager. File core/modules/locale/src/Form/ExportForm.php, line 32 Class ExportForm Form for the Gettext translation files export form. Namespace Drupal\locale\Form Code public function __construct(LanguageManagerInterface $language_manager) { $this->languageManager = $language_manager; }

PoDatabaseWriter::setOptions

public PoDatabaseWriter::setOptions(array $options) Set the options for the current writer. File core/modules/locale/src/PoDatabaseWriter.php, line 113 Class PoDatabaseWriter Gettext PO writer working with the locale module database. Namespace Drupal\locale Code public function setOptions(array $options) { if (!isset($options['overwrite_options'])) { $options['overwrite_options'] = array(); } $options['overwrite_options'] += array( 'not_customized' => FALSE, 'custo

image_file_download

image_file_download($uri) Implements hook_file_download(). Control the access to files underneath the styles directory. File core/modules/image/image.module, line 169 Exposes global functionality for creating image styles. Code function image_file_download($uri) { $path = file_uri_target($uri); // Private file access for image style derivatives. if (strpos($path, 'styles/') === 0) { $args = explode('/', $path); // Discard "styles", style name, and scheme from the path $arg

ThemeInitializationInterface

Defines an interface which contain theme initialization logic. Hierarchy interface \Drupal\Core\Theme\ThemeInitializationInterface File core/lib/Drupal/Core/Theme/ThemeInitializationInterface.php, line 9 Namespace Drupal\Core\Theme Members Name Modifiers Type Description ThemeInitializationInterface::getActiveTheme public function Builds up the active theme object from extensions. ThemeInitializationInterface::getActiveThemeByName public function Builds an active

EditForm::buildPath

protected EditForm::buildPath($pid) Builds the path used by the form. Parameters int|null $pid: Either the unique path ID, or NULL if a new one is being created. Overrides PathFormBase::buildPath File core/modules/path/src/Form/EditForm.php, line 23 Class EditForm Provides the path edit form. Namespace Drupal\path\Form Code protected function buildPath($pid) { return $this->aliasStorage->load(array('pid' => $pid)); }

LocalTaskDefault::getRouteParameters

public LocalTaskDefault::getRouteParameters(RouteMatchInterface $route_match) Returns the route parameters needed to render a link for the local task. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match. Return value array An array of parameter names and values. Overrides LocalTaskInterface::getRouteParameters File core/lib/Drupal/Core/Menu/LocalTaskDefault.php, line 43 Class LocalTaskDefault Default object used for LocalTaskPlugins. Namespace Dru

UserAuthenticationController::$userAuth

The user authentication. Type: \Drupal\user\UserAuthInterface File core/modules/user/src/Controller/UserAuthenticationController.php, line 66 Class UserAuthenticationController Provides controllers for login, login status and logout via HTTP requests. Namespace Drupal\user\Controller Code protected $userAuth;