public static function ViewsHandlerInterface::breakString in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/ViewsHandlerInterface.php \Drupal\views\Plugin\views\ViewsHandlerInterface::breakString()
- 9 core/modules/views/src/Plugin/views/ViewsHandlerInterface.php \Drupal\views\Plugin\views\ViewsHandlerInterface::breakString()
Breaks x,y,z and x+y+z into an array.
Parameters
string $str: The string to split.
bool $force_int: Enforce a numeric check.
Return value
object A stdClass object containing value and operator properties.
File
- core/
modules/ views/ src/ Plugin/ views/ ViewsHandlerInterface.php, line 135
Class
- ViewsHandlerInterface
- Provides an interface for all views handlers.
Namespace
Drupal\views\Plugin\viewsCode
public static function breakString($str, $force_int = FALSE);