src/Kunstmaan/ArticleBundle/AdminList/AbstractArticlePageAdminListConfigurator.php 1 location
|
@@ 122-131 (lines=10) @@
|
119 |
|
* |
120 |
|
* @return array |
121 |
|
*/ |
122 |
|
public function getEditUrlFor($item) |
123 |
|
{ |
124 |
|
/* @var Node $node */ |
125 |
|
$node = $item->getNode(); |
126 |
|
|
127 |
|
return [ |
128 |
|
'path' => 'KunstmaanNodeBundle_nodes_edit', |
129 |
|
'params' => ['id' => $node->getId()], |
130 |
|
]; |
131 |
|
} |
132 |
|
|
133 |
|
/** |
134 |
|
* Get the delete url for the given $item |
src/Kunstmaan/NodeBundle/AdminList/NodeAdminListConfigurator.php 1 location
|
@@ 143-152 (lines=10) @@
|
140 |
|
* |
141 |
|
* @return array |
142 |
|
*/ |
143 |
|
public function getEditUrlFor($item) |
144 |
|
{ |
145 |
|
/* @var Node $node */ |
146 |
|
$node = $item->getNode(); |
147 |
|
|
148 |
|
return [ |
149 |
|
'path' => 'KunstmaanNodeBundle_nodes_edit', |
150 |
|
'params' => ['id' => $node->getId()], |
151 |
|
]; |
152 |
|
} |
153 |
|
|
154 |
|
/** |
155 |
|
* @return bool |