.../Core/Block/MainContentBlockPluginInterface.php | 2 +- .../Block/NonLazyBuildableBlockPluginInterface.php | 21 --------------------- .../Core/Block/StatefulBlockPluginInterface.php | 18 ++++++++++++++++++ core/modules/block/src/BlockViewBuilder.php | 14 +++++++------- .../src/Plugin/Block/ViewsExposedFilterBlock.php | 4 ++-- 5 files changed, 28 insertions(+), 31 deletions(-) diff --git a/core/lib/Drupal/Core/Block/MainContentBlockPluginInterface.php b/core/lib/Drupal/Core/Block/MainContentBlockPluginInterface.php index 4797830..605edce 100644 --- a/core/lib/Drupal/Core/Block/MainContentBlockPluginInterface.php +++ b/core/lib/Drupal/Core/Block/MainContentBlockPluginInterface.php @@ -14,7 +14,7 @@ * * @ingroup block_api */ -interface MainContentBlockPluginInterface extends NonLazyBuildableBlockPluginInterface { +interface MainContentBlockPluginInterface extends StatefulBlockPluginInterface { /** * Sets the main content render array. diff --git a/core/lib/Drupal/Core/Block/NonLazyBuildableBlockPluginInterface.php b/core/lib/Drupal/Core/Block/NonLazyBuildableBlockPluginInterface.php deleted file mode 100644 index dad1227..0000000 --- a/core/lib/Drupal/Core/Block/NonLazyBuildableBlockPluginInterface.php +++ /dev/null @@ -1,21 +0,0 @@ -moduleHandler()); diff --git a/core/modules/views/src/Plugin/Block/ViewsExposedFilterBlock.php b/core/modules/views/src/Plugin/Block/ViewsExposedFilterBlock.php index b79e62b..8a62972 100644 --- a/core/modules/views/src/Plugin/Block/ViewsExposedFilterBlock.php +++ b/core/modules/views/src/Plugin/Block/ViewsExposedFilterBlock.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\Block; -use Drupal\Core\Block\NonLazyBuildableBlockPluginInterface; +use Drupal\Core\Block\StatefulBlockPluginInterface; /** * Provides a 'Views Exposed Filter' block. @@ -18,7 +18,7 @@ * deriver = "Drupal\views\Plugin\Derivative\ViewsExposedFilterBlock" * ) */ -class ViewsExposedFilterBlock extends ViewsBlockBase implements NonLazyBuildableBlockPluginInterface { +class ViewsExposedFilterBlock extends ViewsBlockBase implements StatefulBlockPluginInterface { /** * {@inheritdoc}