NegotiationUrlForm::buildForm

public NegotiationUrlForm::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides ConfigFormBase::buildForm File core/modules/language/src/Form/NegotiationUrlForm.php, line 65 Class NegotiationUrlForm Configure the URL language negotiation method for this site.

ItemsImporter::$fetcherManager

The aggregator fetcher manager. Type: \Drupal\aggregator\Plugin\AggregatorPluginManager File core/modules/aggregator/src/ItemsImporter.php, line 20 Class ItemsImporter Defines an importer of aggregator items. Namespace Drupal\aggregator Code protected $fetcherManager;

StatementEmpty::fetchAllAssoc

public StatementEmpty::fetchAllAssoc($key, $fetch = NULL) Returns the result set as an associative array keyed by the given field. If the given key appears multiple times, later records will overwrite earlier ones. Parameters $key: The name of the field on which to index the array. $fetch: The fetchmode to use. If set to PDO::FETCH_ASSOC, PDO::FETCH_NUM, or PDO::FETCH_BOTH the returned value with be an array of arrays. For any other value it will be an array of objects. By default, the fetch m

YamlFileLoader::validate

private YamlFileLoader::validate($content, $file) Validates a YAML file. Parameters mixed $content: string $file: Return value array Throws InvalidArgumentException When service file is not valid. File core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php, line 357 Class YamlFileLoader YamlFileLoader loads YAML files service definitions. Namespace Drupal\Core\DependencyInjection Code private function validate($content, $file) { if (null === $content) { return $content;

YamlSymfony::decode

public static YamlSymfony::decode($raw) Decodes data from the serialization format. Parameters string $raw: The raw data string to decode. Return value mixed The decoded data. Overrides SerializationInterface::decode File core/lib/Drupal/Component/Serialization/YamlSymfony.php, line 31 Class YamlSymfony Default serialization for YAML using the Symfony component. Namespace Drupal\Component\Serialization Code public static function decode($raw) { try { $yaml = new Parser(); /

InPlaceEditor::$module

The name of the module providing the in-place editor plugin. Type: string File core/modules/quickedit/src/Annotation/InPlaceEditor.php, line 35 Class InPlaceEditor Defines an InPlaceEditor annotation object. Namespace Drupal\quickedit\Annotation Code public $module;

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

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

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';

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'); }