Verified Commit cd2c8e49 authored by Dave Long's avatar Dave Long
Browse files

Issue #3425568 by mstrelan: Block attribute class expecting wrong ContextDefinition

(cherry picked from commit eb10b686)
parent 465b0f37
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ class Block extends Plugin {
   *   The administrative label of the block.
   * @param \Drupal\Core\StringTranslation\TranslatableMarkup|null $category
   *   (optional) The category in the admin UI where the block will be listed.
   * @param \Drupal\Core\Annotation\ContextDefinition[] $context_definitions
   * @param \Drupal\Core\Plugin\Context\ContextDefinitionInterface[] $context_definitions
   *   (optional) An array of context definitions describing the context used by
   *   the plugin. The array is keyed by context names.
   * @param string|null $deriver