Skip to content

Commit 3fa265f

Browse files
committed
update method naming
1 parent ed43bc1 commit 3fa265f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Entity/AbstractPagePart.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function getAdminView()
2929
*
3030
* @return string
3131
*/
32-
public function getOverrideView(PageInterface $page = null)
32+
public function getView(PageInterface $page = null)
3333
{
3434
return $this->getDefaultView();
3535
}

Helper/PagePartInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function getAdminView();
3030
* @abstract
3131
* @return string
3232
*/
33-
public function getOverrideView(PageInterface $page = null);
33+
public function getView(PageInterface $page = null);
3434

3535
/**
3636
* @return AbstractType
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{% for box in pageparts %}
22
{% set resource = box %}
3-
{% include box.getOverrideView(page) %}
3+
{% include box.getView(page) %}
44
{% endfor %}

0 commit comments

Comments
 (0)