public function FacetapiEmptyBehaviorText::__construct in Facet API 6.3
Same name and namespace in other branches
- 7.2 plugins/facetapi/empty_behavior_text.inc \FacetapiEmptyBehaviorText::__construct()
- 7 plugins/facetapi/empty_behavior_text.inc \FacetapiEmptyBehaviorText::__construct()
Checks if a format was selected, calls parent's constructor.
Overrides FacetapiEmptyBehavior::__construct
File
- plugins/
facetapi/ empty_behavior_text.inc, line 22 - Empty behavior that returns text.
Class
- FacetapiEmptyBehaviorText
- Returns text.
Code
public function __construct(stdClass $settings) {
if (isset($settings->settings['empty_text_format'])) {
$this->formatSet = TRUE;
}
parent::__construct($settings);
}