FileTransfer::findChroot

FileTransfer::findChroot() Returns the chroot property for this connection. It does this by moving up the tree until it finds itself Return value string|bool If successful, the chroot path for this connection, otherwise FALSE. File core/lib/Drupal/Core/FileTransfer/FileTransfer.php, line 350 Class FileTransfer Defines the base FileTransfer class. Namespace Drupal\Core\FileTransfer Code function findChroot() { // If the file exists as is, there is no chroot. $path = __FILE__; $pa

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;

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

NullPathProcessorManager::processOutbound

public NullPathProcessorManager::processOutbound($path, &$options = array(), Request $request = NULL, BubbleableMetadata $bubbleable_metadata = NULL) Processes the outbound path. Parameters string $path: The path to process, with a leading slash. array $options: (optional) An associative array of additional options, with the following elements: 'query': An array of query key/value-pairs (without any URL-encoding) to append to the URL. 'fragment': A fragment identifier (named anchor) to a

SearchBlockForm::submitForm

public SearchBlockForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/modules/search/src/Form/SearchBlockForm.php, line 115 Class SearchBlockForm Builds the search form for the search block. Namespace Drupal\search\Form Code public functio

Editor::$is_xss_safe

Whether this text editor is not vulnerable to XSS attacks. Type: bool File core/modules/editor/src/Annotation/Editor.php, line 90 Class Editor Defines an Editor annotation object. Namespace Drupal\editor\Annotation Code public $is_xss_safe;

ImageFactory::$toolkitManager

The image toolkit plugin manager. Type: \Drupal\Core\ImageToolkit\ImageToolkitManager File core/lib/Drupal/Core/Image/ImageFactory.php, line 17 Class ImageFactory Provides a factory for image objects. Namespace Drupal\Core\Image Code protected $toolkitManager;

ViewsDisplay::$uses_route

Does the display plugin registers routes to the route. Type: bool File core/modules/views/src/Annotation/ViewsDisplay.php, line 74 Class ViewsDisplay Defines a Plugin annotation object for views display plugins. Namespace Drupal\views\Annotation Code public $uses_route;

ViewExecutable::$row_index

Stores the current active row while rendering. Type: int File core/modules/views/src/ViewExecutable.php, line 232 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public $row_index;

RouteMatch::$rawParameters

A key|value store of raw parameters. Type: \Symfony\Component\HttpFoundation\ParameterBag File core/lib/Drupal/Core/Routing/RouteMatch.php, line 41 Class RouteMatch Default object representing the results of routing. Namespace Drupal\Core\Routing Code protected $rawParameters;