public static function RulesDataInputOptionsListInterface::optionsList in Rules 7.2
Returns the options list for the data type.
For retrieving information about the used data type and parameter, the helper RulesDataUI::getTypeInfo() may be used as following:
list($type, $parameter_info) = RulesDataUI::getTypeInfo($element, $name);
Parameters
RulesPlugin $element: The rules element to get the options for.
string $name: The name of the parameter for which to get options.
Return value
array An array of options as used by hook_options_list().
2 methods override RulesDataInputOptionsListInterface::optionsList()
File
- ui/
ui.data.inc, line 53 - Contains data type related forms.
Class
- RulesDataInputOptionsListInterface
- Interface for data UI classes providing an options list.
Code
public static function optionsList(RulesPlugin $element, $name);