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

Breadcrumb

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

function ModuleSpecifier::setLocal

Sets the local identifier

Parameters

Identifier|StringLiteral $local Local identifier:

Return value

$this

File

vendor/mck89/peast/lib/Peast/Syntax/Node/ModuleSpecifier.php, line 54

Class

ModuleSpecifier
Abstract class that export and import specifiers nodes must extend.

Namespace

Peast\Syntax\Node

Code

public function setLocal($local) {
    $this->assertType($local, array(
        "Identifier",
        "StringLiteral",
    ));
    $this->local = $local;
    return $this;
}

API Navigation

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