Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Mixin.php

function Mixin::setRoot

If non-empty specifies a path under which inherited HTTP paths are rooted.

Generated from protobuf field <code>string root = 2;</code>

Parameters

string $var:

Return value

$this

File

vendor/google/protobuf/src/Google/Protobuf/Mixin.php, line 157

Class

Mixin
Declares an API Interface to be included in this interface. The including interface must redeclare all the methods from the included interface, but documentation and options are inherited as follows:

Namespace

Google\Protobuf

Code

public function setRoot($var) {
    GPBUtil::checkString($var, True);
    $this->root = $var;
    return $this;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal