diff --git a/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php b/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php index 08731ab9d7a5a7f6d2fc4a6e878d03ab971dfcff..6c614097cf0847d9619e64e7f09978bb95e42460 100644 --- a/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php +++ b/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php @@ -18,6 +18,7 @@ * * @ingroup entity_api */ +#[\AllowDynamicProperties] abstract class ConfigEntityBase extends EntityBase implements ConfigEntityInterface { use PluginDependencyTrait { diff --git a/core/lib/Drupal/Core/Extension/Extension.php b/core/lib/Drupal/Core/Extension/Extension.php index be92a25fc17cc2dd9f731ca51143b88838024f18..b775e992bdbff3757ca014b4f1ef003129a73fb6 100644 --- a/core/lib/Drupal/Core/Extension/Extension.php +++ b/core/lib/Drupal/Core/Extension/Extension.php @@ -10,6 +10,7 @@ * * @see https://bugs.php.net/bug.php?id=66052 */ +#[\AllowDynamicProperties] class Extension { /** diff --git a/core/modules/views/src/Plugin/views/PluginBase.php b/core/modules/views/src/Plugin/views/PluginBase.php index 1d5afc118c95bba9f0b334525ba08fdea41d4138..dca96339738142355ef0f3c8994a51338c35ef69 100644 --- a/core/modules/views/src/Plugin/views/PluginBase.php +++ b/core/modules/views/src/Plugin/views/PluginBase.php @@ -37,6 +37,7 @@ * * @ingroup views_plugins */ +#[\AllowDynamicProperties] abstract class PluginBase extends ComponentPluginBase implements ContainerFactoryPluginInterface, ViewsPluginInterface, DependentPluginInterface, TrustedCallbackInterface { /** diff --git a/core/modules/views/src/Plugin/views/join/JoinPluginBase.php b/core/modules/views/src/Plugin/views/join/JoinPluginBase.php index 57c18eeee1432fe44be8ca06044d9d04ab3be45b..14137a8c4f205d3ae19712345eedeb0a08449181 100644 --- a/core/modules/views/src/Plugin/views/join/JoinPluginBase.php +++ b/core/modules/views/src/Plugin/views/join/JoinPluginBase.php @@ -150,6 +150,7 @@ * * Extensions of this class can be used to create more interesting joins. */ +#[\AllowDynamicProperties] class JoinPluginBase extends PluginBase implements JoinPluginInterface { /** diff --git a/core/modules/views/src/ResultRow.php b/core/modules/views/src/ResultRow.php index 30814bf62810eea15bdc53fd4d729a9186a36818..2399f69983852bde7cd99053055347bc66dca40d 100644 --- a/core/modules/views/src/ResultRow.php +++ b/core/modules/views/src/ResultRow.php @@ -5,6 +5,7 @@ /** * A class representing a view result row. */ +#[\AllowDynamicProperties] class ResultRow { /**