ExtensionFileIsConverted.php

Same filename and directory in other branches
  1. main core/lib/Drupal/Core/Hook/Attribute/ExtensionFileIsConverted.php

Namespace

Drupal\Core\Hook\Attribute

File

core/lib/Drupal/Core/Hook/Attribute/ExtensionFileIsConverted.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Core\Hook\Attribute;


/**
 * Defines a ExtensionFileIsConverted attribute object.
 *
 * This prevents deprecation messages for .theme files to allow legacy tests or
 * supporting multiple versions of core. It must be on a function in the .theme
 * file. This must only be used for legacy support, the extension must fully
 * work without the file in versions >=11.3.0. If the minimum supported version
 * of core is 11.3.0 then this attribute must not be used.
 *
 * @see https://www.drupal.org/node/3581222
 * @see https://www.drupal.org/node/3551652
 */
class ExtensionFileIsConverted {

}

Classes

Title Deprecated Summary
ExtensionFileIsConverted Defines a ExtensionFileIsConverted attribute object.

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