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

Breadcrumb

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

function TraversableElement::hasTable

Checks whether element has a table with specified locator.

Parameters

string $locator table id or caption:

Return value

bool

File

vendor/behat/mink/src/Element/TraversableElement.php, line 284

Class

TraversableElement
Traversable element.

Namespace

Behat\Mink\Element

Code

public function hasTable(string $locator) {
    return $this->has('named', array(
        'table',
        $locator,
    ));
}

API Navigation

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