You are here

public function CorrespondingReference::setEnabled in Corresponding Entity References 8.4

Sets whether the corresponding reference is enabled.

Parameters

bool $enabled: Whether the corresponding reference is enabled.

Return value

$this

Overrides CorrespondingReferenceInterface::setEnabled

File

src/Entity/CorrespondingReference.php, line 195

Class

CorrespondingReference
Defines a corresponding reference entity.

Namespace

Drupal\cer\Entity

Code

public function setEnabled($enabled) {
  $this->enabled = $enabled;
  return $this;
}