| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class v333_m14_update_bbcodes extends bbcodes_migration_base |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * {@inheritdoc} |
||
| 17 | */ |
||
| 18 | public static function depends_on() |
||
| 19 | { |
||
| 20 | return [ |
||
| 21 | '\vse\abbc3\migrations\v310_m4_install_data', |
||
| 22 | '\vse\abbc3\migrations\v310_m5_update_bbcodes']; |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | */ |
||
| 28 | public function update_data() |
||
| 32 | ]; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | protected static $bbcode_data = [ |
||
| 39 | 'marq=' => [ |
||
| 40 | 'bbcode_helpline' => 'ABBC3_MARQUEE_HELPLINE', |
||
| 41 | 'bbcode_match' => '[marq={IDENTIFIER}]{TEXT}[/marq]', |
||
| 42 | 'bbcode_tpl' => '<div class="abbc3-marquee"><div class="abbc3-marquee-{IDENTIFIER}">{TEXT}</div></div>', |
||
| 43 | ], |
||
| 46 |