public function QuizFeedbackTypeListBuilder::buildRow in Quiz 8.6
Same name and namespace in other branches
- 8.5 src/Config/Entity/QuizFeedbackTypeListBuilder.php \Drupal\quiz\Config\Entity\QuizFeedbackTypeListBuilder::buildRow()
- 6.x src/Config/Entity/QuizFeedbackTypeListBuilder.php \Drupal\quiz\Config\Entity\QuizFeedbackTypeListBuilder::buildRow()
Builds a row for an entity in the entity listing.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity for this row of the list.
Return value
array A render array structure of fields for this entity.
Overrides EntityListBuilder::buildRow
See also
\Drupal\Core\Entity\EntityListBuilder::render()
File
- src/
Config/ Entity/ QuizFeedbackTypeListBuilder.php, line 31
Class
- QuizFeedbackTypeListBuilder
- Defines the list builder for quiz question types.
Namespace
Drupal\quiz\Config\EntityCode
public function buildRow(EntityInterface $entity) {
$row['type'] = $entity
->toLink(NULL, 'edit-form');
return $row + parent::buildRow($entity);
}