diff --git a/domains_plugin.php b/domains_plugin.php index 7ca475e..29d3ce2 100644 --- a/domains_plugin.php +++ b/domains_plugin.php @@ -1,13 +1,14 @@ 'domains'] ); } + + /** + * Returns field extensions to merge into existing core model examples + * + * @return array> + */ + public function getExampleExtensions(): array + { + return [ + 'Services' => [ + 'expiration_date' => '2027-03-20' + ] + ]; + } + + /** + * Returns entirely new model examples that have no core JSON file + * + * @return array + */ + public function getExampleModels(): array + { + return []; + } + + /** + * Returns tag name to model name mappings for new root-level template tags + * + * @return array + */ + public function getTagMappings(): array + { + return [ + 'service' => 'Services', + 'contact' => 'Contacts' + ]; + } }