You are here

class AuthorPaneManager in Author Pane 8.3

Class AuthorPaneManager.

@package Drupal\author_pane

Hierarchy

Expanded class hierarchy of AuthorPaneManager

1 string reference to 'AuthorPaneManager'
author_pane.services.yml in ./author_pane.services.yml
author_pane.services.yml
1 service uses AuthorPaneManager
authorpane.manager in ./author_pane.services.yml
Drupal\author_pane\AuthorPaneManager

File

src/AuthorPaneManager.php, line 18
Contains the \Drupal\author_pane\AuthorPaneManager class.

Namespace

Drupal\author_pane
View source
class AuthorPaneManager {
  protected $datumPluginManager;
  public $authorPane;

  /**
   * Constructor for AuthorPaneManager.
   *
   * @param AuthorPaneDatumPluginManager $datumPluginManager
   */
  public function __construct(AuthorPaneDatumPluginManager $datumPluginManager) {
    $this->datumPluginManager = $datumPluginManager;
  }
  public function load($author_pane_id) {
    $this->authorPane = \Drupal\author_pane\Entity\AuthorPane::load($author_pane_id);
    return $this->authorPane;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AuthorPaneManager::$authorPane public property
AuthorPaneManager::$datumPluginManager protected property
AuthorPaneManager::load public function
AuthorPaneManager::__construct public function Constructor for AuthorPaneManager.