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

Breadcrumb

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

function FunctionNode::getSpecificity

Overrides NodeInterface::getSpecificity

File

vendor/symfony/css-selector/Node/FunctionNode.php, line 59

Class

FunctionNode
Represents a "<selector>:<name>(<arguments>)" node.

Namespace

Symfony\Component\CssSelector\Node

Code

public function getSpecificity() : Specificity {
    return $this->selector
        ->getSpecificity()
        ->plus(new Specificity(0, 1, 0));
}

API Navigation

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