ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ILIAS\MetaData\Elements\MockBrokenScaffoldProvider Class Reference
+ Inheritance diagram for ILIAS\MetaData\Elements\MockBrokenScaffoldProvider:
+ Collaboration diagram for ILIAS\MetaData\Elements\MockBrokenScaffoldProvider:

Public Member Functions

 getScaffoldsForElement (ElementInterface $element)
 Returns all elements that could be added as sub-elements to the given element as scaffolds. More...
 

Additional Inherited Members

Detailed Description

Definition at line 331 of file ElementTest.php.

Member Function Documentation

◆ getScaffoldsForElement()

ILIAS\MetaData\Elements\MockBrokenScaffoldProvider::getScaffoldsForElement ( ElementInterface  $element)

Returns all elements that could be added as sub-elements to the given element as scaffolds.

Scaffolds are used to mark where elements could potentially be created. Keys are the name of the following element.

Returns
ElementInterface[]

Implements ILIAS\MetaData\Repository\Utilities\ScaffoldProviderInterface.

Definition at line 333 of file ElementTest.php.

333  : \Generator
334  {
335  $sub = $this->getScaffold('name');
336  $with_sub = $this->getScaffold('with sub', $sub);
337 
338  yield '' => $with_sub;
339  }
getScaffold(string $name, ElementInterface ... $elements)

The documentation for this class was generated from the following file: