You are here

public function SchedulerManager::getEntityTypeFormIds in Scheduler 2.x

Gets list of entity type add/edit form IDs.

Return value

array List of entity type add/edit form IDs for registered scheduler plugins.

File

src/SchedulerManager.php, line 1000

Class

SchedulerManager
Defines a scheduler manager.

Namespace

Drupal\scheduler

Code

public function getEntityTypeFormIds() {
  $plugins = $this
    ->getPlugins();
  $form_ids = [];
  foreach ($plugins as $plugin) {
    $form_ids = array_merge($form_ids, $plugin
      ->entityTypeFormIDs());
  }
  return $form_ids;
}