You are here

public function ComponentSectionFormHandler::getFormTabLocalTasksData in Module Builder 8.3

Gets the local tasks data for the section forms.

Return value

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

File

src/EntityHandler/ComponentSectionFormHandler.php, line 143

Class

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

Namespace

Drupal\module_builder\EntityHandler

Code

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