Completed
Branch Gutenberg/master (a5e5d1)
by
unknown
147:31 queued 134:10
created

CoreBlocksAssetManager::setAssetHandles()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

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