You are here

public static function DoUpdate::buildUpdateForm in Optimizely 8

Same name and namespace in other branches
  1. 8.0 src/DoUpdate.php \Drupal\optimizely\DoUpdate::buildUpdateForm()

Form builder for route optimizely.add_update.oid .

1 string reference to 'DoUpdate::buildUpdateForm'
optimizely.routing.yml in ./optimizely.routing.yml
optimizely.routing.yml

File

src/DoUpdate.php, line 13

Class

DoUpdate
Form builder class for project adds and updates.

Namespace

Drupal\optimizely

Code

public static function buildUpdateForm($oid) {
  return \Drupal::formBuilder()
    ->getForm('Drupal\\optimizely\\AddUpdateForm', $oid);
}