Class

eZ\Publish\SPI\Persistence\Content\UrlAlias

class UrlAlias extends ValueObject

UrlAlias models one url alias path element separated by '/' in urls.

This class models the legacy structure used for url aliases.

Constants

LOCATION

RESOURCE

VIRTUAL

Properties

string $id A unique identifier for the alias (in legacy implementation this would be -).
int $type The type of the URL Alias i.e.
mixed $destination If type = URLAlias::LOCATION the locationId otherwise a string (e.g.
array $pathData Holds normalized path data.
string[] $languageCodes Language code of url alias entry.
bool $alwaysAvailable Fallback indicator for other languages.
bool $isHistory Indicates that this alias was autogenerated for an in the meanwhile archived version of the content.
bool $isCustom If false this alias was autogenerated otherwise manuel created.
bool $forward Indicates if the url should be redirected.