public function FooTable::__construct in FooTable 8.2
Same name in this branch
- 8.2 src/FooTable.php \Drupal\footable\FooTable::__construct()
- 8.2 src/Plugin/views/style/FooTable.php \Drupal\footable\Plugin\views\style\FooTable::__construct()
Constructs a FooTable object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory.
Overrides PluginBase::__construct
File
- src/
Plugin/ views/ style/ FooTable.php, line 47
Class
- FooTable
- Style plugin to render a table as a FooTable.
Namespace
Drupal\footable\Plugin\views\styleCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, ConfigFactoryInterface $configFactory) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->configFactory = $configFactory;
}