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

Breadcrumb

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

function Attribute::addName

Adds a name

Parameters

string $name Name:

Return value

$this

File

vendor/mck89/peast/lib/Peast/Selector/Node/Part/Attribute.php, line 71

Class

Attribute
Selector part attribute class

Namespace

Peast\Selector\Node\Part

Code

public function addName($name) {
    $this->names[] = $name;
    return $this;
}

API Navigation

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