Sets the underlying entity.
\Drupal\Core\Entity\EntityInterface $entity: An entity.
protected function setEntity(EntityInterface $entity) { $this->entity = $entity; }