You are here

public function ComponentSectionFormHandler::getUsedComponentProperties in Module Builder 8.3

Gets all the component properties set to show in section forms.

Return value

string[] An array of property names for the component.

File

src/EntityHandler/ComponentSectionFormHandler.php, line 172

Class

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

Namespace

Drupal\module_builder\EntityHandler

Code

public function getUsedComponentProperties() {
  $used_component_properties = [];
  foreach ($this->formSectionData as $form_op => $section_data) {
    $used_component_properties = array_merge($used_component_properties, $section_data['properties']);
  }
  return $used_component_properties;
}