protected function WebformOptionsCustomListBuilder::getEntityIds in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_options_custom/src/WebformOptionsCustomListBuilder.php \Drupal\webform_options_custom\WebformOptionsCustomListBuilder::getEntityIds()
Loads entity IDs using a pager sorted by the entity id.
Return value
array An array of entity IDs.
Overrides EntityListBuilder::getEntityIds
File
- modules/
webform_options_custom/ src/ WebformOptionsCustomListBuilder.php, line 281
Class
- WebformOptionsCustomListBuilder
- Defines a class to build a listing of webform options custom entities.
Namespace
Drupal\webform_options_customCode
protected function getEntityIds() {
$header = $this
->buildHeader();
$query = $this
->getQuery($this->keys, $this->category);
$query
->tableSort($header);
$query
->pager($this->limit);
return $query
->execute();
}