Skip to content
Snippets Groups Projects

Apply patch

12 files
+ 42
12
Compare changes
  • Side-by-side
  • Inline

Files

@@ -6,6 +6,8 @@ use Drupal\Core\Annotation\ContextDefinition as CoreContextDefinition;
use Drupal\Core\Annotation\Translation;
use Drupal\typed_data\Context\ContextDefinition as TypedDataContextDefinition;
@trigger_error('\Drupal\typed_data\Context\Annotation\ContextDefinition is deprecated in typed_data:8.x-1.0 and is removed from typed_data:2.0.0. Use \Drupal\Core\Annotation\ContextDefinition instead. See https://www.drupal.org/project/typed_data/issues/3169307', E_USER_DEPRECATED);
/**
* Extends the core context definition annotation object for Typed Data.
*
@@ -15,6 +17,10 @@ use Drupal\typed_data\Context\ContextDefinition as TypedDataContextDefinition;
* @Annotation
*
* @ingroup plugin_context
*
* @deprecated in typed_data:8.x-1.0 and is removed from typed_data:2.0.0. Use \Drupal\Core\Annotation\ContextDefinition instead.
*
* @see https://www.drupal.org/project/typed_data/issues/3169307
*/
class ContextDefinition extends CoreContextDefinition {
Loading