Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293443

DefaultPluginManager::setCacheBackend doxygen is wrong

$
0
0

Problem/Motivation

   * @param string $cache_key
   *   Cache key prefix to use, the language code will be appended
   *   automatically.

I can't find anything that would append the language code. I can find, however, three plugin managers doing

<?php
$this->setCacheBackend($cache_backend, 'contextual_links_plugins:' . $language_manager->getCurrentLanguage()->getId(), array('contextual_links_plugins'));
$this->setCacheBackend($cache_backend, 'local_action_plugins:' . $language_manager->getCurrentLanguage()->getId(), array('local_action'));
$this->setCacheBackend($cache, 'local_task_plugins:' . $language_manager->getCurrentLanguage()->getId(), array('local_task'));
?>

so either these three are wrong or the doxygen is wrong.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes


Viewing all articles
Browse latest Browse all 293443

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>