You are here

function paragraphs_panelizer_bundle_name_load in Paragraphs 7

Menu load callback to scrub a paragraphs bundle from the URL safe equivalent.

File

./paragraphs.module, line 966
Paragraphs hooks and common functions.

Code

function paragraphs_panelizer_bundle_name_load($name) {
  if ($bundle = paragraphs_bundle_load($name)) {
    return $bundle->bundle;
  }
}