public function AuthorPane::setAuthor in Author Pane 8.3
Sets the user account whose information is displayed on the pane.
Parameters
\Drupal\user\UserInterface $author:
File
- src/
Entity/ AuthorPane.php, line 97 - Contains \Drupal\author_pane\Entity\AuthorPane.
Class
- AuthorPane
- Defines an AuthorPane configuration entity class.
Namespace
Drupal\author_pane\EntityCode
public function setAuthor(UserInterface $author) {
$this->author = $author;
}