Completed
Branch Gutenberg/event-attendees-bloc... (683e90)
by
unknown
39:01 queued 25:57
created

CoreBlocksAssetManager::setAssetHandles()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 7
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace EventEspresso\core\domain\entities\editor;
4
5
use EventEspresso\core\services\assets\BlockAssetManager;
6
7
/**
8
 * Class CoreBlocksAssetManager
9
 * Manages Editor Block Assets for Event Espresso Core
10
 *
11
 * @package EventEspresso\core\domain\entities\editor\blocks
12
 * @author  Brent Christensen
13
 * @since   $VID:$
14
 */
15
class CoreBlocksAssetManager extends BlockAssetManager
16
{
17
    const JS_HANDLE_CORE_BLOCKS = 'core-blocks';
18
    const CSS_HANDLE_CORE_BLOCKS = 'core-blocks';
19
20
    /**
21
     * @since $VID:$
22
     */
23
    public function setAssetHandles()
24
    {
25
        $this->setEditorScriptHandle(self::JS_HANDLE_CORE_BLOCKS);
26
        $this->setEditorStyleHandle(self::CSS_HANDLE_CORE_BLOCKS);
27
        $this->setScriptHandle(self::JS_HANDLE_CORE_BLOCKS);
28
        $this->setStyleHandle(self::CSS_HANDLE_CORE_BLOCKS);
29
    }
30
}
31