Block::calculateDependencies

public Block::calculateDependencies() Calculates dependencies and stores them in the dependency property. Return value $this Overrides ConfigEntityBase::calculateDependencies See also \Drupal\Core\Config\Entity\ConfigDependencyManager File core/modules/block/src/Entity/Block.php, line 226 Class Block Defines a Block configuration entity class. Namespace Drupal\block\Entity Code public function calculateDependencies() { parent::calculateDependencies(); $this->addDependency('the

DiffFormatter::_end_block

protected DiffFormatter::_end_block() File core/lib/Drupal/Component/Diff/DiffFormatter.php, line 160 Class DiffFormatter A class to format Diffs Namespace Drupal\Component\Diff Code protected function _end_block() { }

LanguageInterface::STATE_SITE_DEFAULT

The language state used when referring to the site's default language. File core/lib/Drupal/Core/Language/LanguageInterface.php, line 72 Class LanguageInterface Defines a language. Namespace Drupal\Core\Language Code const STATE_SITE_DEFAULT = 4;

LanguageManagerInterface::getFallbackCandidates

public LanguageManagerInterface::getFallbackCandidates(array $context = array()) Returns the language fallback candidates for a given context. Parameters array $context: (optional) An associative array of data that can be useful to determine the fallback sequence. The following keys are used in core: langcode: Language code of the desired language. operation: The name of the operation indicating the context where language fallback is being applied. The following operations are defined in cor

ReindexConfirm::getConfirmText

public ReindexConfirm::getConfirmText() Returns a caption for the button that confirms the action. Return value string The form confirmation text. Overrides ConfirmFormBase::getConfirmText File core/modules/search/src/Form/ReindexConfirm.php, line 38 Class ReindexConfirm Provides the search reindex confirmation form. Namespace Drupal\search\Form Code public function getConfirmText() { return $this->t('Re-index site'); }

ShortcutSet::resetLinkWeights

public ShortcutSet::resetLinkWeights() Resets the link weights in a shortcut set to match their current order. This function can be used, for example, when a new shortcut link is added to the set. If the link is added to the end of the array and this function is called, it will force that link to display at the end of the list. Return value \Drupal\shortcut\ShortcutSetInterface The shortcut set. Overrides ShortcutSetInterface::resetLinkWeights File core/modules/shortcut/src/Entity/ShortcutSet.

system_updater_info

system_updater_info() Implements hook_updater_info(). File core/modules/system/system.module, line 499 Configuration system that lets administrators modify the workings of the site. Code function system_updater_info() { return array( 'module' => array( 'class' => 'Drupal\Core\Updater\Module', 'name' => t('Update modules'), 'weight' => 0, ), 'theme' => array( 'class' => 'Drupal\Core\Updater\Theme', 'name' => t('Update themes'),

FieldUiRouteEnhancer::applies

public FieldUiRouteEnhancer::applies(Route $route) Declares if the route enhancer applies to the given route. Parameters \Symfony\Component\Routing\Route $route: The route to consider attaching to. Return value bool TRUE if the check applies to the passed route, False otherwise. Overrides RouteEnhancerInterface::applies File core/modules/field_ui/src/Routing/FieldUiRouteEnhancer.php, line 49 Class FieldUiRouteEnhancer Enhances Field UI routes by adding proper information about the bundle

ContentTranslationMetadataWrapper::isOutdated

public ContentTranslationMetadataWrapper::isOutdated() Returns the translation outdated status. Return value bool TRUE if the translation is outdated, FALSE otherwise. Overrides ContentTranslationMetadataWrapperInterface::isOutdated File core/modules/content_translation/src/ContentTranslationMetadataWrapper.php, line 58 Class ContentTranslationMetadataWrapper Base class for content translation metadata wrappers. Namespace Drupal\content_translation Code public function isOutdated() {

ArrayElement::isEmpty

public ArrayElement::isEmpty() Determines whether the data structure is empty. Return value bool TRUE if the data structure is empty, FALSE otherwise. Overrides TypedConfigInterface::isEmpty File core/lib/Drupal/Core/Config/Schema/ArrayElement.php, line 91 Class ArrayElement Defines a generic configuration element that contains multiple properties. Namespace Drupal\Core\Config\Schema Code public function isEmpty() { return empty($this->value); }