class FormClassRouteLocalizedPaths

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Core/Routing/UnsupportedRouteAttributePropertiesTest.php \Drupal\Tests\Core\Routing\FormClassRouteLocalizedPaths

Test class.

Attributes

#[Route(path: [ 'de' => 'prefix/', ], name: 'form_class_route_localized_paths')]

Hierarchy

Expanded class hierarchy of FormClassRouteLocalizedPaths

File

core/tests/Drupal/Tests/Core/Routing/UnsupportedRouteAttributePropertiesTest.php, line 242

Namespace

Drupal\Tests\Core\Routing
View source
class FormClassRouteLocalizedPaths extends FormBase {
  
  /**
   * {@inheritdoc}
   */
  public function getFormId() : string {
    return '';
  }
  
  /**
   * {@inheritdoc}
   */
  public function buildForm(array $form, FormStateInterface $form_state) : array {
    return [];
  }
  
  /**
   * {@inheritdoc}
   */
  public function submitForm(array &$form, FormStateInterface $form_state) : void {
  }

}

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