feat: jedes Divi-Tool und lit/content-create erklärt seine Divi-Fähigkeiten (RequiresDiviFeatures, DeclaresRequirements, FeatureSets); Tabelle Tool → Fähigkeiten als Test

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Jan-Niclas Loosen
2026-10-18 22:14:39 +02:00
co-authored by Claude Sonnet 5.5
parent e387d8d29e
commit fdbda8012c
39 changed files with 1131 additions and 23 deletions
@@ -35,6 +35,15 @@ interface ContentComposer
*/
public function refusal(): ?WP_Error;
/**
* IDs of the capabilities of the composing integration that composing a new entry needs (the Divi integration:
* the DiviFeature values). lit/content-create hands them on as DeclaresRequirements; the core never interprets
* them.
*
* @return list<string>
*/
public function requirements(): array;
/**
* Validates the description for a new entry of $postType. Nothing is written.
*