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
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory.
File
- src/
FooTable.php, line 35
Class
Namespace
Drupal\footableCode
public function __construct(EntityTypeManagerInterface $entityTypeManager, ConfigFactoryInterface $configFactory) {
$this->breakpointStorage = $entityTypeManager
->getStorage('footable_breakpoint');
$this->config = $configFactory
->get('footable.settings');
}