Forráskód Böngészése

Merge branch '2.0' of https://github.com/sonata-project/SonataAdminBundle

r1pp3rj4ck 13 éve
szülő
commit
86be523ac7
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      Admin/Admin.php

+ 4 - 0
Admin/Admin.php

@@ -616,6 +616,10 @@ abstract class Admin implements AdminInterface, DomainObjectInterface
         $this->configureShowField($mapper); // deprecated, use configureShowFields instead
         $this->configureShowField($mapper); // deprecated, use configureShowFields instead
         $this->configureShowFields($mapper);
         $this->configureShowFields($mapper);
 
 
+        foreach ($this->getExtensions() as $extension) {
+            $extension->configureShowFields($mapper);
+        }
+
         $this->show = $collection;
         $this->show = $collection;
     }
     }