template_preprocess_responsive_image

template_preprocess_responsive_image(&$variables) Prepares variables for a responsive image. Default template: responsive-image.html.twig. Parameters $variables: An associative array containing: uri: The URI of the image. width: The width of the image (if known). height: The height of the image (if known). attributes: Associative array of attributes to be placed in the img tag. responsive_image_style_id: The ID of the responsive image style. File core/modules/responsive_image/respon

NullGenerator::getContext

public NullGenerator::getContext() Overrides UrlGenerator::getContext File core/lib/Drupal/Core/Routing/NullGenerator.php, line 68 Class NullGenerator No-op implementation of a Url Generator, needed for backward compatibility. Namespace Drupal\Core\Routing Code public function getContext() { }

file-link.html.twig

Default theme implementation for a link to a file. Available variables: attributes: The HTML attributes for the containing element. link: A link to the file. See also template_preprocess_file_link() File core/modules/file/templates/file-link.html.twig Related topics Theme system overview Functions and templates for the user interface that themes can override.

ReindexConfirm::getQuestion

public ReindexConfirm::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/search/src/Form/ReindexConfirm.php, line 24 Class ReindexConfirm Provides the search reindex confirmation form. Namespace Drupal\search\Form Code public function getQuestion() { return $this->t('Are you sure you want to re-index the site?'); }

PoHeader::setFromString

public PoHeader::setFromString($header) Populate internal values from a string. Parameters string $header: Full header string with key-value pairs. File core/lib/Drupal/Component/Gettext/PoHeader.php, line 138 Class PoHeader Gettext PO header handler. Namespace Drupal\Component\Gettext Code public function setFromString($header) { // Get an array of all header values for processing. $values = $this->parseHeader($header); // There is only one value relevant for our header imp

Schema::getPrefixInfo

protected Schema::getPrefixInfo($table = 'default', $add_prefix = TRUE) Get information about the table name and schema from the prefix. Parameters Name of table to look prefix up for. Defaults to 'default' because that's: default key for prefix. $add_prefix: Boolean that indicates whether the given table name should be prefixed. Return value A keyed array with information about the schema, table name and prefix. File core/lib/Drupal/Core/Database/Schema.php, line 79 Class Schema Provid

BookSettingsForm

Configure book settings for this site. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfigFormBase uses ConfigFormBaseTraitclass \Drupal\book\Form\BookSettingsForm File core/modules/book/src/Form/BookSettingsForm.php, line 11 Namespace Drupal\book\Form Members Name M

_update_manager_check_backends

_update_manager_check_backends(&$form, $operation) Checks for file transfer backends and prepares a form fragment about them. Parameters array $form: Reference to the form array we're building. string $operation: The update manager operation we're in the middle of. Can be either 'update' or 'install'. Use to provide operation-specific interface text. Return value TRUE if the update manager should continue to the next step in the workflow, or FALSE if we've hit a fatal configuration and mu

ControllerBase::$languageManager

The language manager. Type: \Drupal\Core\Language\LanguageManagerInterface File core/lib/Drupal/Core/Controller/ControllerBase.php, line 68 Class ControllerBase Utility base class for thin controllers. Namespace Drupal\Core\Controller Code protected $languageManager;

ConfigImporterEvent::getChangelist

public ConfigImporterEvent::getChangelist($op = NULL, $collection = StorageInterface::DEFAULT_COLLECTION) Gets the list of changes that will be imported. Parameters string $op: (optional) A change operation. Either delete, create or update. If supplied the returned list will be limited to this operation. string $collection: (optional) The collection to get the changelist for. Defaults to the default collection. Return value array An array of config changes that are yet to be imported. See als