You are here

public function ReplicationConfigController::getForms in Workspace 8

Returns the replication configuration forms.

File

src/Controller/ReplicationConfigController.php, line 17

Class

ReplicationConfigController
Class ReplicationConfigController.

Namespace

Drupal\workspace\Controller

Code

public function getForms() {
  $build['replication_unblock_button'] = $this
    ->formBuilder()
    ->getForm('Drupal\\workspace\\Form\\UnblockReplicationForm');
  $build['clear_queue_button'] = $this
    ->formBuilder()
    ->getForm('Drupal\\workspace\\Form\\ClearReplicationQueueForm');
  $build['replication_settings'] = $this
    ->formBuilder()
    ->getForm('Drupal\\replication\\Form\\SettingsForm');
  return $build;
}