You are here

public static function OGRulesDataUIGroup::inputForm in Organic groups 7

Implements RulesDataDirectInputFormInterface::inputForm().

Overrides RulesDataUIEntity::inputForm

File

./og.rules.inc, line 60
Rules integration for the Organic groups module.

Class

OGRulesDataUIGroup
UI that adds in the group options list.

Code

public static function inputForm($name, $info, $settings, RulesPlugin $element) {

  // Add an options list of all groups if there is none yet.
  if (!isset($info['options list'])) {
    $info['options list'] = array(
      'OGRulesDataUIGroup',
      'optionsList',
    );
  }
  return parent::inputForm($name, $info, $settings, $element);
}