public AccessResult::cacheUntilConfigurationChanges(ConfigBase $configuration)
Convenience method, adds the configuration object's cache tag.
\Drupal\Core\Config\ConfigBase $configuration: The configuration object whose cache tag to set on the access result.
$this
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use ::addCacheableDependency() instead.
public function cacheUntilConfigurationChanges(ConfigBase $configuration) { return $this->addCacheableDependency($configuration); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Access!AccessResult.php/function/AccessResult::cacheUntilConfigurationChanges/8.1.x