-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Our block registrations utilize full use statements so that we only use the Block's classname:
public function define(): array {
return [
self::TYPES => DI\add( [
DI\get( Accordion::class ),
// etc.
]
}We should update this to match:
tribe-libs/src/Generators/Block_Generator.php
Lines 142 to 144 in 33dcf4c
| $definer_path = $this->src_path . 'Blocks/Blocks_Definer.php'; | |
| $type_registration = "\t\t\t\t" . sprintf( 'DI\get( Types\%1$s\%1$s::class ),', $class_name ) . "\n"; | |
| $allowlist_registration = "\t\t\t\t" . sprintf( "'acf/%s',", $type_name ) . "\n"; |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels