Skip to content

SectionIdentifier Criterion

The SectionIdentifier URL Criterion matches URLs related to the content placed in a specified section identifier.

Arguments

  • sectionIdentifiers - string(s) representing the identifiers of the Section(s)

Example

1
2
3
4
5
use Ibexa\Contracts\Core\Repository\Values\URL\Query\Criterion;
use Ibexa\Contracts\Core\Repository\Values\URL\URLQuery;

$query = new URLQuery();
$query->filter = new Criterion\SectionIdentifier(['standard', 'media']);