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

Breadcrumb

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

function Position::getIndex

Returns the source index

Return value

int

1 call to Position::getIndex()
Position::jsonSerialize in vendor/mck89/peast/lib/Peast/Syntax/Position.php
Returns a serializable version of the object

File

vendor/mck89/peast/lib/Peast/Syntax/Position.php, line 79

Class

Position
This class represents the position in the source code.

Namespace

Peast\Syntax

Code

public function getIndex() {
    return $this->index;
}

API Navigation

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