You are here

private function PickAccountsForm::getSupportedProperties in User Merge 2.x

Get list of enabled properties.

Return value

array List of properties.

1 call to PickAccountsForm::getSupportedProperties()
PickAccountsForm::buildForm in src/Form/PickAccountsForm.php
Form constructor.

File

src/Form/PickAccountsForm.php, line 167

Class

PickAccountsForm
Class PickAccountsForm.

Namespace

Drupal\usermerge\Form

Code

private function getSupportedProperties() : array {
  $list = [];
  $definitions = $this->propertyPluginManager
    ->getDefinitions();
  foreach ($definitions as $definition) {
    $list[] = $definition['description'];
  }
  return $list;
}