Add the configurable annotation property to the Autotagger annotation definition.

Created on 16 August 2023, 11 months ago
Updated 18 August 2023, 11 months ago

The search in text plugin uses a notation propterty called "configurable"

/**
 * Plugin implementation of the autotagger.
 *
 * @Autotagger(
 *   id = "search_in_text_fields",
 *   label = @Translation("Search in Text fields"),
 *   description = @Translation("Searches in text fields and adds tags based on text matches."),
 *   configurable = false
 * )
 */

But it's not declared in the Annotation definition for the plugin

/**
 * Defines autotagger annotation object.
 *
 * @Annotation
 */
class Autotagger extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The human-readable name of the plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $title;

  /**
   * The description of the plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $description;

}

We need to add to the Annotation definition.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇪🇸Spain alvar0hurtad0 Cáceres

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024