Skip to content
Snippets Groups Projects

Issue #3091246: Allow MenuLinkTree manipulators to be altered

Open Issue #3091246: Allow MenuLinkTree manipulators to be altered
4 unresolved threads
4 unresolved threads
Files
14
@@ -3,7 +3,7 @@
namespace Drupal\Core\Menu;
use Drupal\Component\Plugin\Exception\PluginException;
use Drupal\Core\Cache\Cache;
use Drupal\Core\Cache\RefinableCacheableDependencyTrait;
use Drupal\Core\Plugin\PluginBase;
use Drupal\Core\Url;
@@ -12,6 +12,8 @@
*/
abstract class MenuLinkBase extends PluginBase implements MenuLinkInterface {
use RefinableCacheableDependencyTrait;
Please register or sign in to reply
/**
* The list of definition values where an override is allowed.
*
@@ -209,25 +211,4 @@ public function deleteLink() {
throw new PluginException("Menu link plugin with ID '{$this->getPluginId()}' does not support deletion");
}
/**
* {@inheritdoc}
*/
public function getCacheMaxAge() {
return Cache::PERMANENT;
}
/**
* {@inheritdoc}
*/
public function getCacheContexts() {
return [];
}
/**
* {@inheritdoc}
*/
public function getCacheTags() {
return [];
}
}
Loading