You are here

public function ContentPublishingActions::getPublicationsFieldValue in Acquia Lift Connector 8.4

Returns publisher setting value by its name.

Parameters

$field_name:

null $default_value:

Return value

array|mixed|null

File

modules/acquia_lift_publisher/src/ContentPublishingActions.php, line 73

Class

ContentPublishingActions
Contains helper methods for managing Content Hub exports.

Namespace

Drupal\acquia_lift_publisher

Code

public function getPublicationsFieldValue($field_name, $default_value = NULL) {
  return $this->publisherSettings
    ->get($field_name) ?? $default_value;
}