By dawehner on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Issue links:
Description:
You don't have to put use statements for the annotation classes in plugin classes anymore.
They are now loaded magically.
Before
use Drupal\views\Annotation\ViewsStyle;
use Drupal\Core\Annotation\Translation;
/**
* The default style plugin for summaries.
*
* @ViewsStyle(
* id = "unformatted_summary",
* title = @Translation("Unformatted"),
* )
*/
class UnformattedSummary extends DefaultSummary {
After
/**
* The default style plugin for summaries.
*
* @ViewsStyle(
* id = "unformatted_summary",
* title = @Translation("Unformatted"),
* )
*/
class UnformattedSummary extends DefaultSummary {
Impacts:
Module developers