Class

eZ\Publish\Core\MVC\Symfony\View\CustomLocationControllerChecker

class CustomLocationControllerChecker

Used to check if a Location is rendered using a custom controller.

Methods

bool usesCustomController(Content $content, Location $location, $viewMode $viewMode = 'full')

Tests if $location has match a view that uses a custom controller.

addViewProviders(array $viewProviders)

Details

at line 29
public bool usesCustomController(Content $content, Location $location, $viewMode $viewMode = 'full')

Tests if $location has match a view that uses a custom controller.

Parameters

Content $content Content
Location $location Location
$viewMode $viewMode string

Return Value

bool

at line 50
public addViewProviders(array $viewProviders)

Parameters

array $viewProviders \eZ\Publish\Core\MVC\Symfony\View\ViewProvider[]