QueryFactory::__construct

public QueryFactory::__construct(ConfigFactoryInterface $config_factory, KeyValueFactoryInterface $key_value, ConfigManagerInterface $config_manager) Constructs a QueryFactory object. Parameters \Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config storage used by the config entity query. \Drupal\Core\KeyValueStore\KeyValueFactoryInterface $key_value: The key value factory. \Drupal\Core\Config\ConfigManagerInterface $config_manager: The configuration manager. File core/lib/Dru

RelationLinkManager::getRelationInternalIds

public RelationLinkManager::getRelationInternalIds($relation_uri, $context = array()) Translates a REST URI into internal IDs. Parameters string $relation_uri: Relation URI to transform into internal IDs Return value array Array with keys 'entity_type', 'bundle' and 'field_name'. Overrides RelationLinkManagerInterface::getRelationInternalIds File core/modules/rest/src/LinkManager/RelationLinkManager.php, line 80 Class RelationLinkManager Namespace Drupal\rest\LinkManager Code public

color.install

Install, update and uninstall functions for the color module. File core/modules/color/color.install Functions Name Description color_requirements Implements hook_requirements().

Drupal::httpClient

public static Drupal::httpClient() Returns the default http client. Return value \GuzzleHttp\Client A guzzle http client instance. File core/lib/Drupal.php, line 418 Contains \Drupal. Class Drupal Static Service Container wrapper. Code public static function httpClient() { return static::getContainer()->get('http_client'); }

DiffFormatter::_added

protected DiffFormatter::_added($lines) File core/lib/Drupal/Component/Diff/DiffFormatter.php, line 173 Class DiffFormatter A class to format Diffs Namespace Drupal\Component\Diff Code protected function _added($lines) { $this->_lines($lines, '>'); }

AliasStorage::TABLE

The table for the url_alias storage. File core/lib/Drupal/Core/Path/AliasStorage.php, line 24 Class AliasStorage Provides a class for CRUD operations on path aliases. Namespace Drupal\Core\Path Code const TABLE = 'url_alias';

BookManager::doBookTreeBuild

protected BookManager::doBookTreeBuild($bid, array $parameters = array()) Builds a book tree. This function may be used build the data for a menu tree only, for example to further massage the data manually before further processing happens. _menu_tree_check_access() needs to be invoked afterwards. Parameters int $bid: The book ID to find links for. array $parameters: (optional) An associative array of build parameters. Possible keys: expanded: An array of parent link IDs to return only book l

PoItem::setContext

PoItem::setContext($context) Set the context this translation belongs to. Parameters string $context: File core/lib/Drupal/Component/Gettext/PoItem.php, line 89 Class PoItem PoItem handles one translation. Namespace Drupal\Component\Gettext Code function setContext($context) { $this->_context = $context; }

Error::formatBacktrace

public static Error::formatBacktrace(array $backtrace) Formats a backtrace into a plain-text string. The calls show values for scalar arguments and type names for complex ones. Parameters array $backtrace: A standard PHP backtrace. Return value string A plain-text line-wrapped string ready to be put inside <pre>. File core/lib/Drupal/Core/Utility/Error.php, line 151 Class Error Drupal error utility class. Namespace Drupal\Core\Utility Code public static function formatBacktrace

ContentEntityForm::init

protected ContentEntityForm::init(FormStateInterface $form_state) Initializes the form state and the entity before the first form build. Parameters \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides EntityForm::init File core/lib/Drupal/Core/Entity/ContentEntityForm.php, line 166 Class ContentEntityForm Entity form variant for content entity types. Namespace Drupal\Core\Entity Code protected function init(FormStateInterface $form_state) { // E