SectionStorageTrait.php

Same filename and directory in other branches
  1. 8.9.x core/modules/layout_builder/src/SectionStorage/SectionStorageTrait.php

Namespace

Drupal\layout_builder\SectionStorage

File

core/modules/layout_builder/src/SectionStorage/SectionStorageTrait.php

View source
<?php

namespace Drupal\layout_builder\SectionStorage;

@trigger_error(__NAMESPACE__ . '\\SectionStorageTrait is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use \\Drupal\\layout_builder\\SectionListTrait instead. See https://www.drupal.org/node/3091432', E_USER_DEPRECATED);
use Drupal\layout_builder\SectionListTrait;

/**
 * Provides a trait for storing sections on an object.
 *
 * @deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use
 *   \Drupal\layout_builder\SectionListTrait instead.
 *
 * @see https://www.drupal.org/node/3091432
 */
trait SectionStorageTrait {
    use SectionListTrait;

}

Traits

Title Deprecated Summary
SectionStorageTrait

in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal\layout_builder\SectionListTrait instead.

Provides a trait for storing sections on an object.

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