EntityListBuilderInterface
interface EntityListBuilderInterface (View source)
Defines an interface to build entity listings.
Methods
getStorage()
Gets the entity storage.
load()
Loads entities of this type from storage for listing.
array
getOperations(EntityInterface $entity)
Provides an array of information to build a list of operation links.
array
render()
Builds a listing of entities for the given entity type.
Details
EntityStorageInterface
getStorage()
Gets the entity storage.
EntityInterface[]
load()
Loads entities of this type from storage for listing.
This allows the implementation to manipulate the listing, like filtering or sorting the loaded entities.
array
getOperations(EntityInterface $entity)
Provides an array of information to build a list of operation links.
array
render()
Builds a listing of entities for the given entity type.