PHP 인터페이스 Neos\Neos\Domain\Service\ContentDimensionPresetSourceInterface
It allows to resolve a Content Dimension Preset for a given dimension and urlSegment or find a matching
preset for a list of dimension values.
Content Dimension Preset
========================
A Content Dimension Preset assigns an identifier to a list of dimension values. It has UI properties for a label and
icon and further options for routing.
The default implementation ConfigurationContentDimensionPresetSource will read the available presets from settings.
파일 보기
프로젝트 열기: neos/neos-development-collection
0 사용 예제들
공개 메소드들
메소드 상세
findPresetByUriSegment()
공개 메소드
Find a dimension preset by URI identifier
public findPresetByUriSegment ( string $dimensionName, string $uriSegment ) : array |
$dimensionName |
string |
The dimension name where the preset should be searched |
$uriSegment |
string |
The URI segment for a Content Dimension Preset |
리턴 |
array |
The preset configuration, including the identifier as key "identifier" or NULL if none was found |