You are here

public function ExcludeEntityFieldEvent::exclude in Acquia Content Hub 8.2

Sets the "exclude" flag.

File

src/Event/ExcludeEntityFieldEvent.php, line 99

Class

ExcludeEntityFieldEvent
Event fired when serializing individual entity fields for syndication.

Namespace

Drupal\acquia_contenthub\Event

Code

public function exclude() {
  $this->isExcludedField = TRUE;
}