You are here

public function SchedulerManager::getPluginEntityTypes in Scheduler 2.x

Get the supported entity types applicable to the currently enabled modules.

Parameters

string $provider: Optional. Filter the returned entity types for only those from the plugins that are provided by the named $provider module.

Return value

array A list of the entity type ids.

1 call to SchedulerManager::getPluginEntityTypes()
SchedulerManager::viewsUpdate in src/SchedulerManager.php
Refreshes scheduler views from source.

File

src/SchedulerManager.php, line 935

Class

SchedulerManager
Defines a scheduler manager.

Namespace

Drupal\scheduler

Code

public function getPluginEntityTypes(string $provider = NULL) {
  return array_keys($this
    ->getPlugins($provider));
}