Revert "Added total cases to actors"

This reverts commit b9481d39d5.
This commit is contained in:
2022-05-09 17:12:05 +01:00
parent 77abeaef4d
commit be7f5fc591
4 changed files with 0 additions and 49 deletions

View File

@ -10,8 +10,6 @@ use Drupal\Core\Entity\EntityChangedTrait;
use Drupal\Core\Entity\EntityPublishedTrait;
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\user\UserInterface;
use Drupal\opencase_entities\Entity\OCActor;
use Error;
/**
* Defines the Case Provision entity.
@ -203,10 +201,6 @@ class OCCaseProvision extends EditorialContentEntityBase implements OCCaseProvis
return $this;
}
public function getProvider():?OCActor {
return OCActor::load($this->oc_provider->target_id);
}
/**
* {@inheritdoc}
*/