You are here

public function CdfExpectations::isExcludedField in Acquia Content Hub 8.2

Checks whether the field is excluded.

Parameters

string $field_name: The name of the field to exclude.

Return value

bool The status of the field:

  • TRUE - if the field is excluded;
  • FALSE - otherwise.

File

tests/src/Kernel/Stubs/CdfExpectations.php, line 79

Class

CdfExpectations
Expectations for cdf fixtures.

Namespace

Drupal\Tests\acquia_contenthub\Kernel\Stubs

Code

public function isExcludedField($field_name) : bool {
  return in_array($field_name, $this->exclusions);
}