Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class v335_m16_update_bbcodes extends bbcodes_migration_base |
||
14 | { |
||
15 | /** |
||
16 | * {@inheritdoc} |
||
17 | */ |
||
18 | public static function depends_on() |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * {@inheritdoc} |
||
27 | */ |
||
28 | public function update_data() |
||
32 | ]; |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | protected static $bbcode_data = [ |
||
39 | 'font=' => [ |
||
40 | 'bbcode_helpline' => 'ABBC3_FONT_HELPLINE', |
||
41 | 'bbcode_match' => '[font={INTTEXT}]{TEXT}[/font]', |
||
42 | 'bbcode_tpl' => '<span style="font-family: {INTTEXT}, sans-serif;">{TEXT}</span>', |
||
43 | ], |
||
46 |