public function CdfExpectations::setEntityLoader in Acquia Content Hub 8.2
Sets alternative entity loader (fallback function).
Parameters
callable $entity_loader: Alternative entity loader.
File
- tests/
src/ Kernel/ Stubs/ CdfExpectations.php, line 119
Class
- CdfExpectations
- Expectations for cdf fixtures.
Namespace
Drupal\Tests\acquia_contenthub\Kernel\StubsCode
public function setEntityLoader(callable $entity_loader) : void {
$this->entityLoader = $entity_loader;
}