You are here

public function fieldable_panels_panes_handler_argument_bundle::set_argument in Fieldable Panels Panes (FPP) 7

Set the input for this argument.

Return value

bool TRUE if it successfully validates; FALSE if it does not.

Overrides views_handler_argument::set_argument

File

plugins/views/fieldable_panels_panes_handler_argument_bundle.inc, line 30
Provide views handler arguments for fieldable panel panes.

Class

fieldable_panels_panes_handler_argument_bundle
Argument handler to accept a node type.

Code

public function set_argument($arg) {

  // Replace all - in the URL with _ since - is not valid.
  $this->argument = str_replace('-', '_', $arg);
  return $this
    ->validate_arg($arg);
}