src/Kunstmaan/TranslatorBundle/AdminList/TranslationAdminListConfigurator.php 1 location
|
@@ 98-105 (lines=8) @@
|
95 |
|
* |
96 |
|
* @return string |
97 |
|
*/ |
98 |
|
public function getPathByConvention($suffix = null) |
99 |
|
{ |
100 |
|
if (empty($suffix)) { |
101 |
|
return sprintf('%s_settings_%ss', $this->getBundleName(), strtolower($this->getEntityName())); |
102 |
|
} |
103 |
|
|
104 |
|
return sprintf('%s_settings_%ss_%s', $this->getBundleName(), strtolower($this->getEntityName()), $suffix); |
105 |
|
} |
106 |
|
|
107 |
|
/** |
108 |
|
* {@inheritdoc} |
src/Kunstmaan/UserManagementBundle/AdminList/AbstractSettingsAdminListConfigurator.php 1 location
|
@@ 19-26 (lines=8) @@
|
16 |
|
* |
17 |
|
* @return string |
18 |
|
*/ |
19 |
|
public function getPathByConvention($suffix = null) |
20 |
|
{ |
21 |
|
if (empty($suffix)) { |
22 |
|
return sprintf('KunstmaanUserManagementBundle_settings_%ss', strtolower($this->getEntityName())); |
23 |
|
} |
24 |
|
|
25 |
|
return sprintf('KunstmaanUserManagementBundle_settings_%ss_%s', strtolower($this->getEntityName()), $suffix); |
26 |
|
} |
27 |
|
|
28 |
|
/** |
29 |
|
* {@inheritdoc} |