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

Breadcrumb

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

function Matches::getNodes

Returns the matched nodes

Return value

array

File

vendor/mck89/peast/lib/Peast/Selector/Matches.php, line 64

Class

Matches
Selector matches class

Namespace

Peast\Selector

Code

public function getNodes() {
    return array_map(function ($m) {
        return $m[0];
    }, $this->matches);
}
RSS feed
Powered by Drupal