ConfigurableLinkManagerInterface.php

Same filename in this branch
  1. 8.9.x core/modules/rest/src/LinkManager/ConfigurableLinkManagerInterface.php
Same filename in other branches
  1. 9 core/modules/hal/src/LinkManager/ConfigurableLinkManagerInterface.php

Namespace

Drupal\hal\LinkManager

File

core/modules/hal/src/LinkManager/ConfigurableLinkManagerInterface.php

View source
<?php

namespace Drupal\hal\LinkManager;


/**
 * Defines an interface for a link manager with a configurable domain.
 */
interface ConfigurableLinkManagerInterface {
    
    /**
     * Sets the link domain used in constructing link URIs.
     *
     * @param string $domain
     *   The link domain to use for constructing link URIs.
     *
     * @return $this
     */
    public function setLinkDomain($domain);

}

Interfaces

Title Deprecated Summary
ConfigurableLinkManagerInterface Defines an interface for a link manager with a configurable domain.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.