1 layout_flexible.class.inc LayoutFlexibleTemplate::delete()

Delete this layout template.

File

core/modules/layout/includes/layout_flexible.class.inc, line 111
Class that holds configuration for a flexible layout template configuration.

Class

LayoutFlexibleTemplate
@file Class that holds configuration for a flexible layout template configuration.

Code

function delete() {
  config('layout.flexible.' . $this->name)->delete();

  layout_reset_caches();
  layout_flexible_reset_caches();
  backdrop_theme_rebuild();
}