You are here

interface RulesDataDirectInputFormInterface in Rules 7.2

Interface for data types providing a direct input form.

Hierarchy

Expanded class hierarchy of RulesDataDirectInputFormInterface

All classes that implement RulesDataDirectInputFormInterface

1 string reference to 'RulesDataDirectInputFormInterface'
RulesPluginUI::getParameterForm in ui/ui.core.inc
Actually generates the parameter form for the given data type.

File

ui/ui.data.inc, line 11
Contains data type related forms.

View source
interface RulesDataDirectInputFormInterface {

  /**
   * Constructs the direct input form.
   *
   * @return array
   *   The direct input form.
   */
  public static function inputForm($name, $info, $settings, RulesPlugin $element);

  /**
   * Render the configured value.
   *
   * @return array
   *   A renderable array.
   */
  public static function render($value);

}

Members

Namesort descending Modifiers Type Description Overrides
RulesDataDirectInputFormInterface::inputForm public static function Constructs the direct input form. 2
RulesDataDirectInputFormInterface::render public static function Render the configured value. 2