LanguageListBuilder::buildHeader

public LanguageListBuilder::buildHeader() Builds the header row for the entity listing. Return value array A render array structure of header strings. Overrides DraggableListBuilder::buildHeader See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/language/src/LanguageListBuilder.php, line 92 Class LanguageListBuilder Defines a class to build a listing of language entities. Namespace Drupal\language Code public function buildHeader() { $header = array( 'la

Xss::split

protected static Xss::split($string, $html_tags, $class) Processes an HTML tag. Parameters string $string: The HTML tag to process. array $html_tags: An array where the keys are the allowed tags and the values are not used. string $class: The called class. This method is called from an anonymous function which breaks late static binding. See https://bugs.php.net/bug.php?id=66622 for more information. Return value string If the element isn't allowed, an empty string. Otherwise, the cleaned up

ConfigEntityMapper::populateFromRouteMatch

public ConfigEntityMapper::populateFromRouteMatch(RouteMatchInterface $route_match) Populate the config mapper with request data. @todo Replace $request with RouteMatch https://www.drupal.org/node/2295255. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The route match. Overrides ConfigNamesMapper::populateFromRouteMatch File core/modules/config_translation/src/ConfigEntityMapper.php, line 107 Class ConfigEntityMapper Configuration mapper for configuration entities. Na

ContentTranslationHandlerInterface

Interface for providing content translation. Defines a set of methods to allow any entity to be processed by the entity translation UI. Hierarchy interface \Drupal\content_translation\ContentTranslationHandlerInterface File core/modules/content_translation/src/ContentTranslationHandlerInterface.php, line 14 Namespace Drupal\content_translation Members Name Modifiers Type Description ContentTranslationHandlerInterface::entityFormAlter public function Performs the needed a

Item::setFeedId

public Item::setFeedId($fid) Sets the feed id of aggregator item. Parameters int $fid: The feed id. Return value \Drupal\aggregator\ItemInterface The called feed item entity. Overrides ItemInterface::setFeedId File core/modules/aggregator/src/Entity/Item.php, line 125 Class Item Defines the aggregator item entity class. Namespace Drupal\aggregator\Entity Code public function setFeedId($fid) { return $this->set('fid', $fid); }

PhpBackend::invalidateAll

public PhpBackend::invalidateAll() Marks all cache items as invalid. Invalid items may be returned in later calls to get(), if the $allow_invalid argument is TRUE. Overrides CacheBackendInterface::invalidateAll See also \Drupal\Core\Cache\CacheBackendInterface::deleteAll() \Drupal\Core\Cache\CacheBackendInterface::invalidate() \Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple() File core/lib/Drupal/Core/Cache/PhpBackend.php, line 213 Class PhpBackend Defines a PHP cache impleme

update.inc

Drupal database update API. This file contains functions to perform database updates for a Drupal installation. It is included and used extensively by update.php. File core/includes/update.inc Functions Name Description update_already_performed Determines if a module update has already been performed. update_build_dependency_graph Constructs a graph which encodes the dependencies between module updates. update_check_incompatibility Tests the compatibility of a module or theme.

FormAjaxException

Custom exception to break out of AJAX form processing. Hierarchy class \Drupal\Core\Form\FormAjaxException extends \Exception File core/lib/Drupal/Core/Form/FormAjaxException.php, line 8 Namespace Drupal\Core\Form Members Name Modifiers Type Description FormAjaxException::$form protected property The form definition. FormAjaxException::$formState protected property The form state. FormAjaxException::getForm public function Gets the form definition. FormA

LanguageConfigOverrideEvents::DELETE_OVERRIDE

The name of the event fired when deleting the configuration override. This event allows you to perform custom actions whenever a language config override is deleted. The event listener method receives a \Drupal\language\Config\LanguageConfigOverrideCrudEvent instance. See also \Drupal\language\Config\LanguageConfigOverrideCrudEvent \Drupal\language\Config\LanguageConfigOverride::delete() \Drupal\locale\LocaleConfigSubscriber Related topics Events Overview of event dispatch and subscribing Fi

SelectExtender::isPrepared

public SelectExtender::isPrepared() Indicates if preExecute() has already been called on that object. Return value TRUE is this query has already been prepared, FALSE otherwise. Overrides SelectInterface::isPrepared File core/lib/Drupal/Core/Database/Query/SelectExtender.php, line 290 Class SelectExtender The base extender class for Select queries. Namespace Drupal\Core\Database\Query Code public function isPrepared() { return $this->query->isPrepared(); }