Update to Drupal 8.0.0-rc3. For more information, see https://www.drupal.org/node/2608078
This commit is contained in:
parent
6419a031d7
commit
4afb23bbd3
762 changed files with 20080 additions and 6368 deletions
|
@ -71,11 +71,11 @@ interface MenuTreeStorageInterface {
|
|||
* @param array $properties
|
||||
* The properties to filter by.
|
||||
*
|
||||
* @throws \InvalidArgumentException
|
||||
* Thrown if an invalid property name is specified in $properties.
|
||||
*
|
||||
* @return array
|
||||
* An array of menu link definition arrays.
|
||||
*
|
||||
* @throws \InvalidArgumentException
|
||||
* Thrown if an invalid property name is specified in $properties.
|
||||
*/
|
||||
public function loadByProperties(array $properties);
|
||||
|
||||
|
|
|
@ -2,12 +2,13 @@
|
|||
|
||||
/**
|
||||
* @file
|
||||
* Contains \Drupal\Core\Plugin\Block\LocalActionsBlock.
|
||||
* Contains \Drupal\Core\Menu\Plugin\Block\LocalActionsBlock.
|
||||
*/
|
||||
|
||||
namespace Drupal\Core\Menu\Plugin\Block;
|
||||
|
||||
use Drupal\Core\Block\BlockBase;
|
||||
use Drupal\Core\Cache\Cache;
|
||||
use Drupal\Core\Menu\LocalActionManagerInterface;
|
||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||
|
@ -94,7 +95,7 @@ class LocalActionsBlock extends BlockBase implements ContainerFactoryPluginInter
|
|||
* {@inheritdoc}
|
||||
*/
|
||||
public function getCacheContexts() {
|
||||
return ['route'];
|
||||
return Cache::mergeContexts(parent::getCacheContexts(), ['route']);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Reference in a new issue