in EntityListBuilder::buildRow we can define row like below:

$row['title']['data'] = array(
    '#type' => 'link',
    '#title' => $entity->label(),
    '#suffix' => ' ' . drupal_render($mark),
    '#url' => $uri,

question is: where can i find list of the options/parameters documentation of this? (#type, #title, what is the other possible option?)

  • Btw. You should use \Drupal::service('renderer')->renderRoot() instead of deprecated drupal_render().
    – kenorb
    Commented Aug 4, 2017 at 22:22

2 Answers 2


This is the render element Link, which is used to make the title clickable. The non linked version would look like this:

$row['title'] = $entity->label();

You can use any render element or a nested render array.


I guess you would want to know about Render arrays in Drupal 8.

Generic properties that can be given for a render element can be found here

As mentioned in that page, every element of a type can have some specific properties which have to be figured out individually.

For Ex: Element of type can have title, url while element of type markup can have #markup.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.