You are here

public function Drupal7::drupalSubstr in Realistic Dummy Content 8.2

Same name and namespace in other branches
  1. 7.2 api/src/Framework/Drupal7.php \Drupal\realistic_dummy_content_api\Framework\Drupal7::drupalSubstr()

Mockable wrapper around drupal_substr().

See that function for details.

1 call to Drupal7::drupalSubstr()
Drupal7::entityIsDummy in api/src/Framework/Drupal7.php

File

api/src/Framework/Drupal7.php, line 237

Class

Drupal7
Drupal 7-specific code.

Namespace

Drupal\realistic_dummy_content_api\Framework

Code

public function drupalSubstr($text, $start) {
  return drupal_substr($text, $start);
}