Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
behat_core_badges_generator Class Reference
Inheritance diagram for behat_core_badges_generator:

Protected Member Functions

 get_badge_id (string $name)
 Look up badge ID from given name.
 
 get_creatable_entities ()
 Get a list of the entities that can be created for this component.
 
 preprocess_badge (array $badge)
 Pre-process badge entity.
 

Member Function Documentation

◆ get_badge_id()

behat_core_badges_generator::get_badge_id ( string $name)
protected

Look up badge ID from given name.

Parameters
string$name
Return values
int

◆ get_creatable_entities()

behat_core_badges_generator::get_creatable_entities ( )
protected

Get a list of the entities that can be created for this component.

Return values
array[]

◆ preprocess_badge()

behat_core_badges_generator::preprocess_badge ( array $badge)
protected

Pre-process badge entity.

Parameters
array$badge
Return values
array

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