SystemConfigFormTestForm.php

Same filename and directory in other branches
  1. 9 core/modules/system/tests/modules/form_test/src/SystemConfigFormTestForm.php
  2. 8.9.x core/modules/system/tests/modules/form_test/src/SystemConfigFormTestForm.php
  3. 10 core/modules/system/tests/modules/form_test/src/SystemConfigFormTestForm.php

Namespace

Drupal\form_test

File

core/modules/system/tests/modules/form_test/src/SystemConfigFormTestForm.php

View source
<?php

namespace Drupal\form_test;

use Drupal\Core\Form\ConfigFormBase;

/**
 * Tests the ConfigFormBase class.
 *
 * @internal
 */
class SystemConfigFormTestForm extends ConfigFormBase {
    
    /**
     * {@inheritdoc}
     */
    public function getFormId() {
        return 'form_test_system_config_test_form';
    }
    
    /**
     * {@inheritdoc}
     */
    protected function getEditableConfigNames() {
        return [];
    }

}

Classes

Title Deprecated Summary
SystemConfigFormTestForm Tests the ConfigFormBase class.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.