public function Username::output in Author Pane 8.3
Returns the HTML string that contains the output of the datum.
Overrides AuthorDatumBase::output
File
- src/
Plugin/ AuthorPane/ Username.php, line 23 - Contains \Drupal\author_pane\Plugin\Username.
Class
- Username
- Provides the Username plugin.
Namespace
Drupal\author_pane\Plugin\AuthorPaneCode
public function output() {
// @TODO: Change this to the real output.
return "Author's name is: " . $this->author
->getUsername();
}