FeedInterface::setEtag

public FeedInterface::setEtag($etag) Sets the entity tag HTTP response header, used for validating cache. Parameters string $etag: A string containing the entity tag HTTP response header. Return value \Drupal\aggregator\FeedInterface The class instance that this method is called on. File core/modules/aggregator/src/FeedInterface.php, line 193 Class FeedInterface Provides an interface defining an aggregator feed entity. Namespace Drupal\aggregator Code public function setEtag($etag);

BareHtmlPageRenderer::$htmlResponseAttachmentsProcessor

The HTML response attachments processor service. Type: \Drupal\Core\Render\AttachmentsResponseProcessorInterface File core/lib/Drupal/Core/Render/BareHtmlPageRenderer.php, line 22 Class BareHtmlPageRenderer Default bare HTML page renderer. Namespace Drupal\Core\Render Code protected $htmlResponseAttachmentsProcessor;

FieldType::$module

The name of the module providing the field type plugin. Type: string File core/lib/Drupal/Core/Field/Annotation/FieldType.php, line 31 Class FieldType Defines a FieldType annotation object. Namespace Drupal\Core\Field\Annotation Code public $module;

FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED

Value indicating a field accepts an unlimited number of values. File core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php, line 31 Class FieldStorageDefinitionInterface Defines an interface for entity field storage definitions. Namespace Drupal\Core\Field Code const CARDINALITY_UNLIMITED = -1;

DbDumpApplication::getDefinition

public DbDumpApplication::getDefinition() Overridden so the application doesn't expect the command name as the first argument. Overrides Application::getDefinition File core/lib/Drupal/Core/Command/DbDumpApplication.php, line 36 Class DbDumpApplication Provides a command to dump a database generation script. Namespace Drupal\Core\Command Code public function getDefinition() { $definition = parent::getDefinition(); // Clears the normal first argument (the command name). $definiti

install_run_tasks

install_run_tasks(&$install_state) Runs all tasks for the current installation request. In the case of an interactive installation, all tasks will be attempted until one is reached that has output which needs to be displayed to the user, or until a page redirect is required. Otherwise, tasks will be attempted until the installation is finished. Parameters $install_state: An array of information about the current installation state. This is passed along to each task, so it can be modified i

TrustedRedirectResponse

Provides a redirect response which contains trusted URLs. Use this class in case you know that you want to redirect to an external URL. Hierarchy class \Symfony\Component\HttpFoundation\RedirectResponse extends \Symfony\Component\HttpFoundation\Response class \Drupal\Component\HttpFoundation\SecuredRedirectResponseclass \Drupal\Core\Routing\CacheableSecuredRedirectResponse implements CacheableResponseInterface uses CacheableResponseTraitclass \Drupal\Core\Routing\TrustedRedirectResponse uses Lo

ImageButton::preRenderButton

public static ImageButton::preRenderButton($element) Prepares a #type 'button' render element for input.html.twig. Parameters array $element: An associative array containing the properties of the element. Properties used: #attributes, #button_type, #name, #value. The #button_type property accepts any value, though core themes have CSS that styles the following button_types appropriately: 'primary', 'danger'. Return value array The $element with prepared variables ready for input.html.twig. Ov

UrlHelper::isExternal

public static UrlHelper::isExternal($path) Determines whether a path is external to Drupal. An example of an external path is http://example.com. If a path cannot be assessed by Drupal's menu handler, then we must treat it as potentially insecure. Parameters string $path: The internal path or external URL being linked to, such as "node/34" or "http://example.com/foo". Return value bool TRUE or FALSE, where TRUE indicates an external path. File core/lib/Drupal/Component/Utility/UrlHelper.php,

UpdateKernel::cacheDrupalContainer

protected UpdateKernel::cacheDrupalContainer(array $container_definition) Stores the container definition in a cache. Parameters array $container_definition: The container definition to cache. Return value bool TRUE if the container was successfully cached. Overrides DrupalKernel::cacheDrupalContainer File core/lib/Drupal/Core/Update/UpdateKernel.php, line 47 Class UpdateKernel Defines a kernel which is used primarily to run the update of Drupal. Namespace Drupal\Core\Update Code pro