loading table of contents...

7.8.1. Content Actions

The newly public API class ContentAction is the most prominent context consumer in Studio and uses the configurable annotation:

  [InjectFromExtParent(variableNameConfig='contentVariableName')]
  public function setContents(contents:Array):void {
    ...
  }

While the class is an abstract class, all its child classes accept the injection of the contents property as long as the annotated method is not overridden. For example approveAction, publishAction and more. So such actions' content can be injected using the contentVariableName configuration parameter.