Skip to content
Snippets Groups Projects

Apply patch

Closed Lap Pham requested to merge issue/typed_data-3316872:pregmatchall-passing-null-beta2 into 2.1.x
12 files
+ 42
12
Compare changes
  • Side-by-side
  • Inline
Files
12
@@ -6,6 +6,8 @@ use Drupal\Core\Annotation\ContextDefinition as CoreContextDefinition;
@@ -6,6 +6,8 @@ use Drupal\Core\Annotation\ContextDefinition as CoreContextDefinition;
use Drupal\Core\Annotation\Translation;
use Drupal\Core\Annotation\Translation;
use Drupal\typed_data\Context\ContextDefinition as TypedDataContextDefinition;
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.
* Extends the core context definition annotation object for Typed Data.
*
*
@@ -15,6 +17,10 @@ use Drupal\typed_data\Context\ContextDefinition as TypedDataContextDefinition;
@@ -15,6 +17,10 @@ use Drupal\typed_data\Context\ContextDefinition as TypedDataContextDefinition;
* @Annotation
* @Annotation
*
*
* @ingroup plugin_context
* @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 {
class ContextDefinition extends CoreContextDefinition {
Loading