Loading core/modules/block_content/src/Plugin/views/area/ListingEmpty.php +2 −2 Changes for core/modules/block_content/src/Plugin/views/area/ListingEmpty.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ use Drupal\Core\Access\AccessManagerInterface; use Drupal\Core\Session\AccountInterface; use Drupal\Core\Url; use Drupal\views\Attribute\ViewsArea; use Drupal\views\Plugin\views\area\AreaPluginBase; use Symfony\Component\DependencyInjection\ContainerInterface; Loading @@ -12,9 +13,8 @@ * Defines an area plugin to display a block add link. * * @ingroup views_area_handlers * * @ViewsArea("block_content_listing_empty") */ #[ViewsArea("block_content_listing_empty")] class ListingEmpty extends AreaPluginBase { /** Loading core/modules/node/src/Plugin/views/area/ListingEmpty.php +2 −2 Changes for core/modules/node/src/Plugin/views/area/ListingEmpty.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ use Drupal\Core\Access\AccessManagerInterface; use Drupal\Core\Url; use Drupal\views\Attribute\ViewsArea; use Drupal\views\Plugin\views\area\AreaPluginBase; use Symfony\Component\DependencyInjection\ContainerInterface; Loading @@ -11,9 +12,8 @@ * Defines an area plugin to display a node/add link. * * @ingroup views_area_handlers * * @ViewsArea("node_listing_empty") */ #[ViewsArea("node_listing_empty")] class ListingEmpty extends AreaPluginBase { /** Loading core/modules/views/src/Attribute/ViewsArea.php 0 → 100644 +17 −0 Changes for core/modules/views/src/Attribute/ViewsArea.php: 17 added lines, 0 removed lines. Original line number Diff line number Diff line <?php namespace Drupal\views\Attribute; use Drupal\Component\Plugin\Attribute\PluginID; /** * Defines a Plugin attribute object for views area handlers. * * @see \Drupal\views\Plugin\views\area\AreaPluginBase * * @ingroup views_area_handlers */ #[\Attribute(\Attribute::TARGET_CLASS)] class ViewsArea extends PluginID { } core/modules/views/src/Plugin/views/area/AreaPluginBase.php +1 −1 Changes for core/modules/views/src/Plugin/views/area/AreaPluginBase.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ * Plugins governing areas of views, such as header, footer, and empty text. * * Area handler plugins extend \Drupal\views\Plugin\views\area\AreaPluginBase. * They must be annotated with \Drupal\views\Annotation\ViewsArea annotation, * They must be attributed with \Drupal\views\Attribute\ViewsArea attribute, * and they must be in namespace directory Plugin\views\area. * * @ingroup views_plugins Loading core/modules/views/src/Plugin/views/area/Broken.php +2 −2 Changes for core/modules/views/src/Plugin/views/area/Broken.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -2,15 +2,15 @@ namespace Drupal\views\Plugin\views\area; use Drupal\views\Attribute\ViewsArea; use Drupal\views\Plugin\views\BrokenHandlerTrait; /** * A special handler to take the place of missing or broken handlers. * * @ingroup views_area_handlers * * @ViewsArea("broken") */ #[ViewsArea("broken")] class Broken extends AreaPluginBase { use BrokenHandlerTrait; Loading Loading
core/modules/block_content/src/Plugin/views/area/ListingEmpty.php +2 −2 Changes for core/modules/block_content/src/Plugin/views/area/ListingEmpty.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ use Drupal\Core\Access\AccessManagerInterface; use Drupal\Core\Session\AccountInterface; use Drupal\Core\Url; use Drupal\views\Attribute\ViewsArea; use Drupal\views\Plugin\views\area\AreaPluginBase; use Symfony\Component\DependencyInjection\ContainerInterface; Loading @@ -12,9 +13,8 @@ * Defines an area plugin to display a block add link. * * @ingroup views_area_handlers * * @ViewsArea("block_content_listing_empty") */ #[ViewsArea("block_content_listing_empty")] class ListingEmpty extends AreaPluginBase { /** Loading
core/modules/node/src/Plugin/views/area/ListingEmpty.php +2 −2 Changes for core/modules/node/src/Plugin/views/area/ListingEmpty.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ use Drupal\Core\Access\AccessManagerInterface; use Drupal\Core\Url; use Drupal\views\Attribute\ViewsArea; use Drupal\views\Plugin\views\area\AreaPluginBase; use Symfony\Component\DependencyInjection\ContainerInterface; Loading @@ -11,9 +12,8 @@ * Defines an area plugin to display a node/add link. * * @ingroup views_area_handlers * * @ViewsArea("node_listing_empty") */ #[ViewsArea("node_listing_empty")] class ListingEmpty extends AreaPluginBase { /** Loading
core/modules/views/src/Attribute/ViewsArea.php 0 → 100644 +17 −0 Changes for core/modules/views/src/Attribute/ViewsArea.php: 17 added lines, 0 removed lines. Original line number Diff line number Diff line <?php namespace Drupal\views\Attribute; use Drupal\Component\Plugin\Attribute\PluginID; /** * Defines a Plugin attribute object for views area handlers. * * @see \Drupal\views\Plugin\views\area\AreaPluginBase * * @ingroup views_area_handlers */ #[\Attribute(\Attribute::TARGET_CLASS)] class ViewsArea extends PluginID { }
core/modules/views/src/Plugin/views/area/AreaPluginBase.php +1 −1 Changes for core/modules/views/src/Plugin/views/area/AreaPluginBase.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ * Plugins governing areas of views, such as header, footer, and empty text. * * Area handler plugins extend \Drupal\views\Plugin\views\area\AreaPluginBase. * They must be annotated with \Drupal\views\Annotation\ViewsArea annotation, * They must be attributed with \Drupal\views\Attribute\ViewsArea attribute, * and they must be in namespace directory Plugin\views\area. * * @ingroup views_plugins Loading
core/modules/views/src/Plugin/views/area/Broken.php +2 −2 Changes for core/modules/views/src/Plugin/views/area/Broken.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -2,15 +2,15 @@ namespace Drupal\views\Plugin\views\area; use Drupal\views\Attribute\ViewsArea; use Drupal\views\Plugin\views\BrokenHandlerTrait; /** * A special handler to take the place of missing or broken handlers. * * @ingroup views_area_handlers * * @ViewsArea("broken") */ #[ViewsArea("broken")] class Broken extends AreaPluginBase { use BrokenHandlerTrait; Loading