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\EntityCode
public function setEnabled($enabled) {
$this->enabled = $enabled;
return $this;
}