public function AbstractPropertySynonymsBehavior::__construct in Synonyms 7
Overrides AbstractSynonymsBehavior::__construct
File
- synonyms_provider_property/
includes/ AbstractPropertySynonymsBehavior.class.inc, line 27 - Abstract class for enabling entity properties to be source of synonyms.
Class
- AbstractPropertySynonymsBehavior
- Definition of AbstractPropertySynonymsBehavior class.
Code
public function __construct($behavior_implementation) {
parent::__construct($behavior_implementation);
$this->property = synonyms_provider_property_name($this->behavior_implementation['provider']);
$this->entity_info = entity_get_info($this->behavior_implementation['entity_type']);
}