Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
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: