UpdateKernel::initializeContainer

protected UpdateKernel::initializeContainer() Initializes the service container. Return value \Symfony\Component\DependencyInjection\ContainerInterface Overrides DrupalKernel::initializeContainer File core/lib/Drupal/Core/Update/UpdateKernel.php, line 36 Class UpdateKernel Defines a kernel which is used primarily to run the update of Drupal. Namespace Drupal\Core\Update Code protected function initializeContainer() { // Always force a container rebuild, in order to be able to overri

InstallStorage::getAllFolders

protected InstallStorage::getAllFolders() Returns a map of all config object names and their folders. Return value array An array mapping config object names with directories. File core/lib/Drupal/Core/Config/InstallStorage.php, line 150 Class InstallStorage Storage used by the Drupal installer. Namespace Drupal\Core\Config Code protected function getAllFolders() { if (!isset($this->folders)) { $this->folders = array(); $this->folders += $this->getCoreNames();

User::$anonymousUser

Stores a reference for a reusable anonymous user entity. Type: \Drupal\user\UserInterface File core/modules/user/src/Entity/User.php, line 68 Class User Defines the user entity class. Namespace Drupal\user\Entity Code protected static $anonymousUser;

ContentEntityBase::get

public ContentEntityBase::get($field_name) Gets a field item list. Parameters string $field_name: The name of the field to get; e.g., 'title' or 'name'. Return value \Drupal\Core\Field\FieldItemListInterface The field item list, containing the field items. Throws \InvalidArgumentException If an invalid field name is given. Overrides FieldableEntityInterface::get File core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 450 Class ContentEntityBase Implements Entity Field API specific

ViewEditForm::submitDisplayDisable

public ViewEditForm::submitDisplayDisable($form, FormStateInterface $form_state) Submit handler to disable display. File core/modules/views_ui/src/ViewEditForm.php, line 611 Class ViewEditForm Form controller for the Views edit form. Namespace Drupal\views_ui Code public function submitDisplayDisable($form, FormStateInterface $form_state) { $view = $this->entity; $id = $form_state->get('display_id'); $view->getExecutable()->displayHandlers->get($id)->setOption('

ModulesUninstallConfirmForm::getQuestion

public ModulesUninstallConfirmForm::getQuestion() Returns the question to ask the user. Return value string The form question. The page title will be set to this value. Overrides ConfirmFormInterface::getQuestion File core/modules/system/src/Form/ModulesUninstallConfirmForm.php, line 90 Class ModulesUninstallConfirmForm Builds a confirmation form to uninstall selected modules. Namespace Drupal\system\Form Code public function getQuestion() { return $this->t('Confirm uninstall');

Drupal::root

public static Drupal::root() Gets the app root. Return value string File core/lib/Drupal.php, line 180 Contains \Drupal. Class Drupal Static Service Container wrapper. Code public static function root() { return static::getContainer()->get('app.root'); }

FilterFormatListBuilder::$entitiesKey

The key to use for the form element containing the entities. Type: string Overrides DraggableListBuilder::$entitiesKey File core/modules/filter/src/FilterFormatListBuilder.php, line 23 Class FilterFormatListBuilder Defines a class to build a listing of filter format entities. Namespace Drupal\filter Code protected $entitiesKey = 'formats';

ContentEntityBase::__isset

public ContentEntityBase::__isset($name) Implements the magic method for isset(). File core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 953 Class ContentEntityBase Implements Entity Field API specific enhancements to the Entity class. Namespace Drupal\Core\Entity Code public function __isset($name) { // "Official" Field API fields are always set. if ($this->hasField($name)) { return TRUE; } // For non-field properties, check the internal values. else { retur

SearchQuery::NO_POSITIVE_KEYWORDS

Indicates no positive keywords were in the search expression. Positive keywords are words that are searched for, as opposed to negative keywords, which are words that are excluded. To count as a keyword, a word must be at least \Drupal::config('search.settings')->get('index.minimum_word_size') characters. See also SearchQuery::getStatus() File core/modules/search/src/SearchQuery.php, line 45 Class SearchQuery Search query extender and helper functions. Namespace Drupal\search Code