Commit ab9bb579 authored by catch's avatar catch
Browse files

Issue #3299858 by andypost, Lendude: Remove AllowDynamicProperties attribute from views/PluginBase

parent 5971ebdf
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -37,7 +37,6 @@
 *
 * @ingroup views_plugins
 */
#[\AllowDynamicProperties]
abstract class PluginBase extends ComponentPluginBase implements ContainerFactoryPluginInterface, ViewsPluginInterface, DependentPluginInterface, TrustedCallbackInterface {

  /**
@@ -107,6 +106,11 @@ abstract class PluginBase extends ComponentPluginBase implements ContainerFactor
   */
  protected $renderer;

  /**
   * The handler position.
   */
  public int $position;

  /**
   * Constructs a PluginBase object.
   *
+9 −2
Original line number Diff line number Diff line
@@ -111,9 +111,16 @@ abstract class ArgumentPluginBase extends HandlerBase implements CacheableDepend
  public string $operator;

  /**
   * The argument position.
   * The title set by argument validation.
   */
  public int $position;
  public ?string $validated_title;

  /**
   * Keyed array by alias of table relations.
   *
   * @var string[]
   */
  public ?array $tableAliases;

  /**
   * Overrides Drupal\views\Plugin\views\HandlerBase:init().
+7 −0
Original line number Diff line number Diff line
@@ -83,6 +83,13 @@ abstract class FilterPluginBase extends HandlerBase implements CacheableDependen
   */
  public $always_required = FALSE;

  /**
   * Keyed array by alias of table relations.
   *
   * @var string[]
   */
  public ?array $tableAliases;

  /**
   * Overrides \Drupal\views\Plugin\views\HandlerBase::init().
   *
+7 −0
Original line number Diff line number Diff line
@@ -109,6 +109,13 @@ abstract class StylePluginBase extends PluginBase {
   */
  protected $defaultFieldLabels = FALSE;

  /**
   * Keyed array by placeholder a cached per row tokens to render.
   *
   * @var string[]
   */
  public array $render_tokens = [];

  /**
   * Overrides \Drupal\views\Plugin\views\PluginBase::init().
   *