src/Kunstmaan/NodeBundle/AdminList/NodeAdminListConfigurator.php 1 location
|
@@ 146-155 (lines=10) @@
|
143 |
|
* |
144 |
|
* @return array |
145 |
|
*/ |
146 |
|
public function getEditUrlFor($item) |
147 |
|
{ |
148 |
|
/* @var Node $node */ |
149 |
|
$node = $item->getNode(); |
150 |
|
|
151 |
|
return array( |
152 |
|
'path' => 'KunstmaanNodeBundle_nodes_edit', |
153 |
|
'params' => array('id' => $node->getId()), |
154 |
|
); |
155 |
|
} |
156 |
|
|
157 |
|
/** |
158 |
|
* @return bool |
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 array( |
128 |
|
'path' => 'KunstmaanNodeBundle_nodes_edit', |
129 |
|
'params' => array('id' => $node->getId()), |
130 |
|
); |
131 |
|
} |
132 |
|
|
133 |
|
/** |
134 |
|
* Get the delete url for the given $item |