Commit da133331 authored by alexpott's avatar alexpott

Issue #2272801 by tim.plunkett: Allow blocks to be context aware.

parent 082bf59e
......@@ -7,7 +7,7 @@
namespace Drupal\block;
use Drupal\Core\Plugin\PluginBase;
use Drupal\Core\Plugin\ContextAwarePluginBase;
use Drupal\block\BlockInterface;
use Drupal\Component\Utility\Unicode;
use Drupal\Component\Utility\NestedArray;
......@@ -25,7 +25,7 @@
*
* @ingroup block_api
*/
abstract class BlockBase extends PluginBase implements BlockPluginInterface {
abstract class BlockBase extends ContextAwarePluginBase implements BlockPluginInterface {
/**
* {@inheritdoc}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment