You are here

public function FacetapiEmptyBehaviorText::execute in Facet API 6.3

Same name and namespace in other branches
  1. 7.2 plugins/facetapi/empty_behavior_text.inc \FacetapiEmptyBehaviorText::execute()
  2. 7 plugins/facetapi/empty_behavior_text.inc \FacetapiEmptyBehaviorText::execute()

Returns an empty array.

Overrides FacetapiEmptyBehavior::execute

File

plugins/facetapi/empty_behavior_text.inc, line 32
Empty behavior that returns text.

Class

FacetapiEmptyBehaviorText
Returns text.

Code

public function execute() {
  $format_id = $this->settings['empty_text_format'];
  $text = $this
    ->translate('empty_text', $this->settings['empty_text']);
  return check_markup($text, $format_id);
}