public function EntityFormAccessTokenListBuilder::load in Access unpublished 8
Loads entities of this type from storage for listing.
This allows the implementation to manipulate the listing, like filtering or sorting the loaded entities.
Return value
\Drupal\Core\Entity\EntityInterface[] An array of entities implementing \Drupal\Core\Entity\EntityInterface indexed by their IDs. Returns an empty array if no matching entities are found.
Overrides EntityListBuilder::load
File
- src/
EntityFormAccessTokenListBuilder.php, line 47
Class
- EntityFormAccessTokenListBuilder
- Defines a class to build a listing of access token entities.
Namespace
Drupal\access_unpublishedCode
public function load() {
return $this->accessTokenManager
->getAccessTokensByEntity($this->contentEntity);
}