1 views_plugin_argument_validate_node.inc | views_plugin_argument_validate_node::options_submit(&$form, &$form_state, &$options = array()) |
Provide the default form form for submitting options
Overrides views_plugin_argument_validate::options_submit
File
- core/
modules/ node/ views/ views_plugin_argument_validate_node.inc, line 64 - Contains the 'node' argument validator plugin.
Class
- views_plugin_argument_validate_node
- Validate whether an argument is an acceptable node.
Code
function options_submit(&$form, &$form_state, &$options = array()) {
// filter trash out of the options so we don't store giant unnecessary arrays
$options['types'] = array_filter($options['types']);
}