protected static function TextFormat::currentUser in Drupal 8
Same name and namespace in other branches
- 9 core/modules/filter/src/Element/TextFormat.php \Drupal\filter\Element\TextFormat::currentUser()
- 10 core/modules/filter/src/Element/TextFormat.php \Drupal\filter\Element\TextFormat::currentUser()
Wraps the current user.
\Drupal\Core\Session\AccountInterface
1 call to TextFormat::currentUser()
- TextFormat::processFormat in core/
modules/ filter/ src/ Element/ TextFormat.php - Expands an element into a base element with text format selector attached.
File
- core/
modules/ filter/ src/ Element/ TextFormat.php, line 276
Class
- TextFormat
- Provides a text format render element.
Namespace
Drupal\filter\ElementCode
protected static function currentUser() {
return \Drupal::currentUser();
}