You are here

protected function BulkEditDeriver::getEnabledEntityTypeIds in Views Bulk Edit 8

Getes the enabled entity type Ids.

Return value

array An array of enabled entity type Ids.

1 call to BulkEditDeriver::getEnabledEntityTypeIds()
BulkEditDeriver::getDerivativeDefinitions in src/Plugin/Derivative/BulkEditDeriver.php
Gets the definition of all derivatives of a base plugin.

File

src/Plugin/Derivative/BulkEditDeriver.php, line 30

Class

BulkEditDeriver
A action deriver.

Namespace

Drupal\views_bulk_edit\Plugin\Derivative

Code

protected function getEnabledEntityTypeIds() {
  return \Drupal::config('views_bulk_edit.settings')
    ->get('enabled_entity_type_ids') ?: [
    'node',
  ];
}