public function ComponentSectionFormHandler::getOperations in Module Builder 8.3
Gets the entity operations for the list builder.
Return value
array An array whose keys are the form operation names, and whose values are labels for the operation links.
File
- src/
EntityHandler/ ComponentSectionFormHandler.php, line 111
Class
- ComponentSectionFormHandler
- Provides definitions of form sections, paths, titles, and properties used.
Namespace
Drupal\module_builder\EntityHandlerCode
public function getOperations() {
$op_data = [];
foreach ($this->formSectionDataDynamic as $form_op => $section) {
$route_data[$form_op] = $section['op_title'];
}
return $route_data;
}