Ejemplo n.º 1
0
 /**
  * Convenience method, adds the configuration object's cache tag.
  *
  * @param \Drupal\Core\Config\ConfigBase $configuration
  *   The configuration object whose cache tag to set on the access result.
  *
  * @return $this
  */
 public function cacheUntilConfigurationChanges(ConfigBase $configuration)
 {
     $this->addCacheTags($configuration->getCacheTags());
     return $this;
 }