You are here

public function BlazyAdminTest::getSkins in Blazy 8

Returns defined skins as registered via hook_blazy_test_skins_info().

1 call to BlazyAdminTest::getSkins()
BlazyAdminTest::getSkinOptions in tests/modules/blazy_test/src/Form/BlazyAdminTest.php
Returns available blazy_test skins for select options.

File

tests/modules/blazy_test/src/Form/BlazyAdminTest.php, line 78

Class

BlazyAdminTest
Provides resusable admin functions or form elements.

Namespace

Drupal\blazy_test\Form

Code

public function getSkins() {
  if (!isset($this->skinDefinition)) {
    $this->skinDefinition = $this->manager
      ->buildSkins('blazy_test', '\\Drupal\\blazy_test\\BlazyTestSkin');
  }
  return $this->skinDefinition;
}