ExtensionType.php

Same filename in this branch
  1. 10 core/lib/Drupal/Core/Theme/ExtensionType.php
Same filename in other branches
  1. 11.x core/modules/sdc/src/ExtensionType.php
  2. 11.x core/lib/Drupal/Core/Theme/ExtensionType.php

Namespace

Drupal\sdc

File

core/modules/sdc/src/ExtensionType.php

View source
<?php

namespace Drupal\sdc;


/**
 * Enum for supported extension types.
 *
 * @todo Replace this enum with Drupal\Core\Extension\ExtensionTypeInterface.
 * @see https://www.drupal.org/i/3352546
 *
 * @internal
 */
enum ExtensionType : string
{
    case Module = 'module';
    case Theme = 'theme';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.