You are here

function flag_plugin_argument_validate_flaggability::construct in Flag 6

Same name and namespace in other branches
  1. 6.2 includes/flag_plugin_argument_validate_flaggability.inc \flag_plugin_argument_validate_flaggability::construct()
  2. 7.3 includes/views/flag_plugin_argument_validate_flaggability.inc \flag_plugin_argument_validate_flaggability::construct()
  3. 7.2 includes/flag_plugin_argument_validate_flaggability.inc \flag_plugin_argument_validate_flaggability::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'];
}