Issue #2634022 by martin107, dpi: ViewsPluginInterface::create() inherits from nothing, breaking PHPStan-strict
parent
3cca7d75a0
commit
0ce583b17f
|
@ -5,14 +5,14 @@ namespace Drupal\views\Plugin\views;
|
|||
use Drupal\Component\Plugin\DerivativeInspectionInterface;
|
||||
use Drupal\Component\Plugin\PluginInspectionInterface;
|
||||
use Drupal\Core\Form\FormStateInterface;
|
||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
||||
use Drupal\views\Plugin\views\display\DisplayPluginBase;
|
||||
use Drupal\views\ViewExecutable;
|
||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||
|
||||
/**
|
||||
* Provides an interface for all views plugins.
|
||||
*/
|
||||
interface ViewsPluginInterface extends PluginInspectionInterface, DerivativeInspectionInterface {
|
||||
interface ViewsPluginInterface extends PluginInspectionInterface, DerivativeInspectionInterface, ContainerFactoryPluginInterface {
|
||||
|
||||
/**
|
||||
* Returns the plugin provider.
|
||||
|
@ -68,11 +68,6 @@ interface ViewsPluginInterface extends PluginInspectionInterface, DerivativeInsp
|
|||
*/
|
||||
public static function preRenderAddFieldsetMarkup(array $form);
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition);
|
||||
|
||||
/**
|
||||
* Initialize the plugin.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue