You are here

public function ComponentSectionFormHandler::getFormTabRoutePaths in Module Builder 8.3

Gets the route data for the section forms.

Return value

array An array whose keys are the path components and values are route titles.

File

src/EntityHandler/ComponentSectionFormHandler.php, line 127

Class

ComponentSectionFormHandler
Provides definitions of form sections, paths, titles, and properties used.

Namespace

Drupal\module_builder\EntityHandler

Code

public function getFormTabRoutePaths() {
  $route_data = [];
  foreach ($this->formSectionDataDynamic as $form_op => $section) {
    $route_data[$form_op] = $section['title'];
  }
  return $route_data;
}