function flag_plugin_argument_validate_flaggability::construct in Flag 7.2
Same name and namespace in other branches
- 6.2 includes/flag_plugin_argument_validate_flaggability.inc \flag_plugin_argument_validate_flaggability::construct()
- 6 includes/flag_plugin_argument_validate_flaggability.inc \flag_plugin_argument_validate_flaggability::construct()
- 7.3 includes/views/flag_plugin_argument_validate_flaggability.inc \flag_plugin_argument_validate_flaggability::construct()
Views handlers use a special construct function.
Allows it to more easily construct them with variable arguments.
Overrides views_object::construct
File
- includes/
flag_plugin_argument_validate_flaggability.inc, line 15 - Contains the flaggability validator handler.
Class
- flag_plugin_argument_validate_flaggability
- Validates whether an argument is a flaggable/flagged object.
Code
function construct() {
parent::construct();
$this->flag_type = $this->definition['flag type'];
}