Yaffs site version 1.1
[yaffs-website] / vendor / drupal / console / templates / module / src / Entity / entity.php.twig
index 07d85f294c07ae8a416bb4cea8c575f4e388d38c..03efd8791e44d347abd9ecd0b312816d98e5c454 100644 (file)
@@ -24,6 +24,7 @@ use Drupal\Core\Config\Entity\ConfigEntityBase;
  *   id = "{{ entity_name }}",
  *   label = @Translation("{{ label }}"),
  *   handlers = {
+ *     "view_builder" = "Drupal\Core\Entity\EntityViewBuilder",
  *     "list_builder" = "Drupal\{{ module }}\{{ entity_class }}ListBuilder",
  *     "form" = {
  *       "add" = "Drupal\{{ module }}\Form\{{ entity_class }}Form",