BlockPageRouteRepository
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
BlockPageRoute|string
BlockPageRoute|string
bool
removeRouteByReplacementPath(string $path)
Remove all routes with specified replacement path
BlockPageRoute|null
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
at line 67
BlockPageRoute|string
edit(BlockPageRoute $object)
Merge Block Page Route
at line 85
bool
removeRouteByReplacementPath(string $path)
Remove all routes with specified replacement path
at line 107
BlockPageRoute|null
findRouteByPath(string $path)
Get single route for specified path
at line 125
array
getRoutes()
Get all visible and active routes