public function ProfilerExtension::getAbbr in Devel 4.x
Same name and namespace in other branches
- 8.3 webprofiler/src/Twig/Extension/ProfilerExtension.php \Drupal\webprofiler\Twig\Extension\ProfilerExtension::getAbbr()
- 8 webprofiler/src/Twig/Extension/ProfilerExtension.php \Drupal\webprofiler\Twig\Extension\ProfilerExtension::getAbbr()
- 8.2 webprofiler/src/Twig/Extension/ProfilerExtension.php \Drupal\webprofiler\Twig\Extension\ProfilerExtension::getAbbr()
Parameters
$class:
Return value
string
File
- webprofiler/
src/ Twig/ Extension/ ProfilerExtension.php, line 80
Class
- ProfilerExtension
- Class ProfilerExtension.
Namespace
Drupal\webprofiler\Twig\ExtensionCode
public function getAbbr($class) {
return $this->classShortener
->shortenClass($class);
}