class BlockPageRouteRepository extends EntityRepository

Class BlockPageRouteRepository is injected as empire_block_page_route.repository service. BlockPageRouteRepository is used for crud operation for entity.

Use this class to work with database.

Constants

ALIAS

Alias for main entity

PAGE_ALIAS

Alias for block page

CONFIG_ALIAS

Alias for route config

Methods

save(BlockPageRoute $object)

Save Block Page Route

edit(BlockPageRoute $object)

Merge Block Page Route

bool
removeRouteByReplacementPath(string $path)

Remove all routes with specified replacement path

findRouteByPath(string $path)

Get single route for specified path

array
getRoutes()

Get all visible and active routes

Details

at line 47
BlockPageRoute|string save(BlockPageRoute $object)

Save Block Page Route

Parameters

BlockPageRoute $object

Return Value

BlockPageRoute|string

at line 67
BlockPageRoute|string edit(BlockPageRoute $object)

Merge Block Page Route

Parameters

BlockPageRoute $object

Return Value

BlockPageRoute|string

at line 85
bool removeRouteByReplacementPath(string $path)

Remove all routes with specified replacement path

Parameters

string $path

Return Value

bool

at line 107
BlockPageRoute|null findRouteByPath(string $path)

Get single route for specified path

Parameters

string $path

Return Value

BlockPageRoute|null

at line 125
array getRoutes()

Get all visible and active routes

Return Value

array