You are here

public function FacetInterface::getWidget in Facets 8

Returns the facet widget definition.

Return value

array An associative array with the following structure:

  • id: The widget plugin id as a string.
  • config: The widget configuration as an array.
1 method overrides FacetInterface::getWidget()
Facet::getWidget in src/Entity/Facet.php
Returns the facet widget definition.

File

src/FacetInterface.php, line 31

Class

FacetInterface
The facet entity.

Namespace

Drupal\facets

Code

public function getWidget();