public function SmsGatewayListBuilder::render in SMS Framework 8
Same name and namespace in other branches
- 2.x src/Lists/SmsGatewayListBuilder.php \Drupal\sms\Lists\SmsGatewayListBuilder::render()
- 2.1.x src/Lists/SmsGatewayListBuilder.php \Drupal\sms\Lists\SmsGatewayListBuilder::render()
Builds the entity listing as renderable array for table.html.twig.
@todo Add a link to add a new item to the #empty text.
Overrides EntityListBuilder::render
File
- src/
Lists/ SmsGatewayListBuilder.php, line 37
Class
- SmsGatewayListBuilder
- Builds a list of SMS Gateway plugins.
Namespace
Drupal\sms\ListsCode
public function render() {
$render = parent::render();
$render['table']['#empty'] = t('No gateways found.');
return $render;
}