CorrespondingReferenceStorageInterface.php in Corresponding Entity References 8.4
Namespace
Drupal\cerFile
src/CorrespondingReferenceStorageInterface.phpView source
<?php
namespace Drupal\cer;
use Drupal\Core\Config\Entity\ConfigEntityStorageInterface;
use Drupal\Core\Entity\EntityInterface;
/**
* Defines the interface for corresponding reference storage.
*/
interface CorrespondingReferenceStorageInterface extends ConfigEntityStorageInterface {
/**
* Loads the valid corresponding reference config entities for the given entity.
*
* @param \Drupal\Core\Entity\EntityInterface $entity
* The entity.
*
* @return \Drupal\cer\Entity\CorrespondingReferenceInterface[]
* The valid corresponding references.
*/
public function loadValid(EntityInterface $entity);
}
Interfaces
Name | Description |
---|---|
CorrespondingReferenceStorageInterface | Defines the interface for corresponding reference storage. |