protected function CreateClass::extractLocal in Drupal 7 to 8/9 Module Upgrader 8
1 call to CreateClass::extractLocal()
- CreateClass::execute in src/
Plugin/ DMU/ Fixer/ CreateClass.php - Executes the plugin.
File
- src/
Plugin/ DMU/ Fixer/ CreateClass.php, line 70
Class
- CreateClass
- Plugin annotation @Fixer( id = "create_class" )
Namespace
Drupal\drupalmoduleupgrader\Plugin\DMU\FixerCode
protected function extractLocal($path) {
return substr($path, strrpos($path, '\\') + 1);
}