You are here

public function PhoneNumberSettingsListBuilder::render in SMS Framework 8

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/PhoneNumberSettingsListBuilder.php, line 129

Class

PhoneNumberSettingsListBuilder
Builds a list of phone number settings.

Namespace

Drupal\sms\Lists

Code

public function render() {
  $render = parent::render();
  $render['table']['#empty'] = t('No phone number settings found.');
  return $render;
}