function ViewsHandlerInterface::breakString
Same name in other branches
- 9 core/modules/views/src/Plugin/views/ViewsHandlerInterface.php \Drupal\views\Plugin\views\ViewsHandlerInterface::breakString()
- 8.9.x core/modules/views/src/Plugin/views/ViewsHandlerInterface.php \Drupal\views\Plugin\views\ViewsHandlerInterface::breakString()
- 10 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.
1 method overrides ViewsHandlerInterface::breakString()
- HandlerBase::breakString in core/
modules/ views/ src/ Plugin/ views/ HandlerBase.php - Breaks x,y,z and x+y+z into an array.
File
-
core/
modules/ views/ src/ Plugin/ views/ ViewsHandlerInterface.php, line 138
Class
- ViewsHandlerInterface
- Provides an interface for all views handlers.
Namespace
Drupal\views\Plugin\viewsCode
public static function breakString($str, $force_int = FALSE);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.