You are here

protected function DevelGenerateBase::isDrush8 in Devel 8

Same name and namespace in other branches
  1. 8.3 devel_generate/src/DevelGenerateBase.php \Drupal\devel_generate\DevelGenerateBase::isDrush8()
  2. 8.2 devel_generate/src/DevelGenerateBase.php \Drupal\devel_generate\DevelGenerateBase::isDrush8()
6 calls to DevelGenerateBase::isDrush8()
ContentDevelGenerate::generateContent in devel_generate/src/Plugin/DevelGenerate/ContentDevelGenerate.php
Method responsible for creating content when the number of elements is less than 50.
ContentDevelGenerate::validateDrushParams in devel_generate/src/Plugin/DevelGenerate/ContentDevelGenerate.php
Responsible for validating Drush params.
MenuDevelGenerate::validateDrushParams in devel_generate/src/Plugin/DevelGenerate/MenuDevelGenerate.php
Responsible for validating Drush params.
TermDevelGenerate::validateDrushParams in devel_generate/src/Plugin/DevelGenerate/TermDevelGenerate.php
Responsible for validating Drush params.
UserDevelGenerate::validateDrushParams in devel_generate/src/Plugin/DevelGenerate/UserDevelGenerate.php
Responsible for validating Drush params.

... See full list

File

devel_generate/src/DevelGenerateBase.php, line 169

Class

DevelGenerateBase
Provides a base DevelGenerate plugin implementation.

Namespace

Drupal\devel_generate

Code

protected function isDrush8() {
  return function_exists('drush_drupal_load_autoloader');
}