You are here

public function LinkedFieldManager::getAttributes in Linked Field 8

Get configured attributes from configuration.

Return value

array An array of the configured attributes.

Overrides LinkedFieldManagerInterface::getAttributes

File

src/LinkedFieldManager.php, line 78

Class

LinkedFieldManager
Provides helper methods for client related functionalities.

Namespace

Drupal\linked_field

Code

public function getAttributes() {
  $attributes = $this->config
    ->get('attributes') ?: [];
  return $attributes;
}