DbUpdateController::__construct

public DbUpdateController::__construct($root, KeyValueExpirableFactoryInterface $key_value_expirable_factory, CacheBackendInterface $cache, StateInterface $state, ModuleHandlerInterface $module_handler, AccountInterface $account, BareHtmlPageRendererInterface $bare_html_page_renderer, UpdateRegistry $post_update_registry) Constructs a new UpdateController. Parameters string $root: The app root. \Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface $key_value_expirable_factory: The keyva

AccessAwareRouter::getContext

public AccessAwareRouter::getContext() File core/lib/Drupal/Core/Routing/AccessAwareRouter.php, line 74 Class AccessAwareRouter A router class for Drupal with access check and upcasting. Namespace Drupal\Core\Routing Code public function getContext() { return $this->chainRouter->getContext(); }

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;

MenuTreeStorage::safeExecuteSelect

protected MenuTreeStorage::safeExecuteSelect(SelectInterface $query) Executes a select query while making sure the database table exists. Parameters \Drupal\Core\Database\Query\SelectInterface $query: The select object to be executed. Return value \Drupal\Core\Database\StatementInterface|null A prepared statement, or NULL if the query is not valid. Throws \Exception Thrown if the table could not be created or the database connection failed. File core/lib/Drupal/Core/Menu/MenuTreeStorage.php,

LocalActionManagerInterface

Manages discovery and instantiation of menu local action plugins. Menu local actions are links that lead to actions like "add new". The plugin format allows them (if needed) to dynamically generate a title or the path they link to. The annotation on the plugin provides the default title, and the list of routes where the action should be rendered. Hierarchy interface \Drupal\Component\Plugin\Discovery\DiscoveryInterface; interface \Drupal\Component\Plugin\Factory\FactoryInterface; interface \Dru

StatementPrefetch::$dbh

Reference to the Drupal database connection object for this statement. Type: \Drupal\Core\Database\Connection File core/lib/Drupal/Core/Database/StatementPrefetch.php, line 32 Class StatementPrefetch An implementation of StatementInterface that prefetches all data. Namespace Drupal\Core\Database Code public $dbh;

ConfigManager::loadConfigEntityByName

public ConfigManager::loadConfigEntityByName($name) Loads a configuration entity using the configuration name. Parameters string $name: The configuration object name. Return value \Drupal\Core\Entity\EntityInterface|null The configuration entity or NULL if it does not exist. Overrides ConfigManagerInterface::loadConfigEntityByName File core/lib/Drupal/Core/Config/ConfigManager.php, line 109 Class ConfigManager The ConfigManager provides helper functions for the configuration system. Na

FormState::getBuildInfo

public FormState::getBuildInfo() Returns the build info for the form. Return value array An array of build info. Overrides FormStateInterface::getBuildInfo See also \Drupal\Core\Form\FormState::$build_info File core/lib/Drupal/Core/Form/FormState.php, line 947 Class FormState Stores information about the state of a form. Namespace Drupal\Core\Form Code public function getBuildInfo() { return $this->build_info; }

forum_uninstall

forum_uninstall() Implements hook_uninstall(). File core/modules/forum/forum.install, line 38 Install, update, and uninstall functions for the Forum module. Code function forum_uninstall() { if ($field_storage = FieldStorageConfig::loadByName('node', 'taxonomy_forums')) { $field_storage->delete(); } if ($field_storage = FieldStorageConfig::loadByName('node', 'comment_forum')) { $field_storage->delete(); } if ($field_storage = FieldStorageConfig::loadByName('taxonomy_

NodeGrantDatabaseStorage::writeDefault

public NodeGrantDatabaseStorage::writeDefault() Creates the default node access grant entry. Overrides NodeGrantDatabaseStorageInterface::writeDefault File core/modules/node/src/NodeGrantDatabaseStorage.php, line 254 Class NodeGrantDatabaseStorage Defines a storage handler class that handles the node grants system. Namespace Drupal\node Code public function writeDefault() { $this->database->insert('node_access') ->fields(array( 'nid' => 0, 'realm' => 'a