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

Breadcrumb

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

function Part::check

Returns true if the selector part matches the given node, false otherwise

@abstract

Parameters

Node $node Node:

Node $parent Parent node:

Return value

bool

5 methods override Part::check()
Attribute::check in vendor/mck89/peast/lib/Peast/Selector/Node/Part/Attribute.php
Returns true if the selector part matches the given node, false otherwise
PseudoIndex::check in vendor/mck89/peast/lib/Peast/Selector/Node/Part/PseudoIndex.php
Returns true if the selector part matches the given node, false otherwise
PseudoSelector::check in vendor/mck89/peast/lib/Peast/Selector/Node/Part/PseudoSelector.php
Returns true if the selector part matches the given node, false otherwise
PseudoSimple::check in vendor/mck89/peast/lib/Peast/Selector/Node/Part/PseudoSimple.php
Returns true if the selector part matches the given node, false otherwise
Type::check in vendor/mck89/peast/lib/Peast/Selector/Node/Part/Type.php
Returns true if the selector part matches the given node, false otherwise

File

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

Class

Part
Selector part base class

Namespace

Peast\Selector\Node\Part

Code

public abstract function check(Node $node, $parent = null);

API Navigation

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