ConfigWizard.php in CloudFlare 8
File
src/Wizard/ConfigWizard.php
View source
<?php
namespace Drupal\cloudflare\Wizard;
use Drupal\ctools\Wizard\FormWizardBase;
class ConfigWizard extends FormWizardBase {
public function getWizardLabel() {
return $this
->t('CloudFlare Config');
}
public function getMachineLabel() {
return $this
->t('CloudFlare Config');
}
public function getRouteName() {
return 'cloudflare.admin_settings_form.step';
}
public function getOperations($cached_values) {
return [
'one' => [
'form' => 'Drupal\\cloudflare\\Form\\SettingsForm',
'title' => $this
->t('CloudFlare Settings'),
],
'two' => [
'form' => 'Drupal\\cloudflare\\Form\\ZoneSelectionForm',
'title' => $this
->t('CloudFlare Zone Selection'),
],
];
}
}
Classes
Name |
Description |
ConfigWizard |
Class ConfigWizard used for entering CloudFlare config. |