You are here

public static function VarDumper::checkRequirements in Devel 8

Same name and namespace in other branches
  1. 8.3 src/Plugin/Devel/Dumper/VarDumper.php \Drupal\devel\Plugin\Devel\Dumper\VarDumper::checkRequirements()
  2. 8.2 src/Plugin/Devel/Dumper/VarDumper.php \Drupal\devel\Plugin\Devel\Dumper\VarDumper::checkRequirements()
  3. 4.x src/Plugin/Devel/Dumper/VarDumper.php \Drupal\devel\Plugin\Devel\Dumper\VarDumper::checkRequirements()

Checks if requirements for this plugin are satisfied.

Return value

bool TRUE is requirements are satisfied, FALSE otherwise.

Overrides DevelDumperInterface::checkRequirements

File

src/Plugin/Devel/Dumper/VarDumper.php, line 43

Class

VarDumper
Provides a Symfony VarDumper dumper plugin.

Namespace

Drupal\devel\Plugin\Devel\Dumper

Code

public static function checkRequirements() {
  return class_exists('Symfony\\Component\\VarDumper\\Cloner\\VarCloner', TRUE);
}