You are here

public function AcceptanceMethodPluginManager::getNewUserPluginOptions in Entity Legal 8

Get new user plugin option list.

Return value

array

File

src/Plugin/AcceptanceMethodPluginManager.php, line 78
Contains \Drupal\entity_legal\Plugin\AcceptanceMethodPluginManager.

Class

AcceptanceMethodPluginManager
Plugin type manager for acceptance methods.

Namespace

Drupal\entity_legal\Plugin

Code

public function getNewUserPluginOptions() {
  $new_user_plugins = $this
    ->getNewUserPlugins();
  return $this
    ->getPluginsListAsOptions($new_user_plugins);
}