Plugins miss metadata about configuration

Created on 22 April 2013, about 11 years ago
Updated 18 July 2023, 11 months ago

Right now, core condition implementations miss the metadata that's required for Rules to be able to make use of the conditions also. Rules requires metadata about the configuration values what right now should live in the condition plugin definition below the 'configuration' key:
From ExecutableInterface

 * - configuration: An array of configuration option definitions, keyed by
 *   option name. Each option definition is a typed data definition describing
 *   the configuration option. Check the typed data definition docs for details.

Let's make sure that's implemented in all core conditions such that Rules can build upon them.

Related issue: #1920816: Factor getConfig(), setConfig(), getConfigDefinition(), and getConfigDefinitions() out of ExecutablePluginBase β†’

Next steps

See if patch can be rerolled for current d8 head. https://drupal.org/contributor-tasks/reroll

πŸ› Bug report
Status

Closed: outdated

Version

9.5

Component
PluginΒ  β†’

Last updated about 17 hours ago

Created by

πŸ‡¦πŸ‡ΉAustria fago Vienna

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

  • Contributed project blocker

    It denotes an issue that prevents porting of a contributed project to the stable version of Drupal due to missing APIs, regressions, and so on.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024