plugins->moduleInfo(self::id(), 'name'); return __(is_string($name) ? $name : self::id()); } /** * This module path. */ public static function path(): string { return dirname(__DIR__); } /** * Get distributed models. * * Use Behavior arlequinAddModels to add models with synthax: * [ * 'name'=>__('Model name'), // Nom du modèle prédéfini * 's_html'=>'[HTML code]', // Code HTML du sélecteur de thème * 'e_html'=>'[HTML code]', // Code HTML d'un item pouvant être sélectionné * 'a_html'=>'[HTML code]' // Code HTML d'un item actif (thème sélectionné) * ] */ public static function distributedModels(): array { return [ [ 'name' => __('Bullets list'), 's_html' => '', 'e_html' => '
  • %4$s
  • ', 'a_html' => '
  • %4$s
  • ', ], [ 'name' => __('Scrolled list'), 's_html' => '
    ' . "\n" . '

    ' . "\n" . '

    ' . "\n" . '
    ', 'e_html' => '', 'a_html' => '', ], ]; } public static function defaultModel(): array { return [ 'name' => __('Default'), 'e_html' => '
  • %4$s
  • ', 'a_html' => '
  • %4$s
  • ', 's_html' => '', ]; } }