abstract class LinkManagerBase extends LinkManagerBase (View source)

deprecated in drupal:8.3.0 and is removed from drupal:9.0.0. This has been moved to the hal module. This exists solely for BC.

Properties

protected string $linkDomain

Link domain used for type links URIs.

from  LinkManagerBase
protected ConfigFactoryInterface $configFactory

Config factory service.

from  LinkManagerBase
protected RequestStack $requestStack

The request stack.

from  LinkManagerBase

Methods

setLinkDomain($domain)

{@inheritdoc}

string
getLinkDomain(array $context = [])

Gets the link domain.

Details

setLinkDomain($domain)

{@inheritdoc}

Parameters

$domain

protected string getLinkDomain(array $context = [])

Gets the link domain.

Parameters

array $context

Normalization/serialization context.

Return Value

string

The link domain.

See also

\Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize()
\Symfony\Component\Serializer\SerializerInterface::serialize()
CacheableNormalizerInterface::SERIALIZATION_CONTEXT_CACHEABILITY