'en-GB' => 'Do Stuff',
'de-DE' => 'Mache Dinge',
],
$secondActionButton->
getLabel());
$firstModule =
$manifest->
getAdmin()->
getModules()[0
];
static::
assertEquals('https://test.com',
$firstModule->
getSource());
static::
assertEquals('first-module',
$firstModule->
getName());
static::
assertEquals([ 'en-GB' => 'My first own module',
'de-DE' => 'Mein erstes eigenes Modul',
],
$firstModule->
getLabel());
static::
assertEquals('sw-test-structure-module',
$firstModule->
getParent());
static::
assertEquals(10,
$firstModule->
getPosition());
$secondModule =
$manifest->
getAdmin()->
getModules()[1
];
static::
assertNull($secondModule->
getSource());
static::
assertEquals('structure-module',
$secondModule->
getName());
static::
assertEquals([ 'en-GB' => 'My menu entry for modules',
'de-DE' => 'Mein Menüeintrag für Module',
],
$secondModule->
getLabel());
static::
assertEquals('sw-catalogue',
$secondModule->
getParent());
static::
assertEquals(50,
$secondModule->
getPosition());