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

(cherry picked from commit eb10b68667)
merge-requests/6954/head
Dave Long 2024-03-06 23:18:15 +00:00
parent 361a968658
commit 39df12b2ed
No known key found for this signature in database
GPG Key ID: ED52AE211E142771
1 changed files with 1 additions and 1 deletions

View File

@ -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