You are here

public static function WeMegaMenuBuilder::createNewMegamenuColConfig in Drupal Mega Menu 8.x

Same name and namespace in other branches
  1. 8 src/WeMegaMenuBuilder.php \Drupal\we_megamenu\WeMegaMenuBuilder::createNewMegamenuColConfig()
1 call to WeMegaMenuBuilder::createNewMegamenuColConfig()
WeMegaMenuBuilder::compareItem in src/WeMegaMenuBuilder.php

File

src/WeMegaMenuBuilder.php, line 833

Class

WeMegaMenuBuilder

Namespace

Drupal\we_megamenu

Code

public static function createNewMegamenuColConfig() {
  $col_config = new \stdClass();
  $col_config->hidewhencollapse = "";
  $col_config->type = 'we-mega-menu-col';
  $col_config->width = 12;
  $col_config->block = '';
  $col_config->class = '';
  $col_config->block_title = 0;
  return $col_config;
}