public function ScriptInterface::getSnippet in Script Manager 8
Get the JavaScript snippet for the entity.
Return value
string The snippet.
1 method overrides ScriptInterface::getSnippet()
- Script::getSnippet in src/
Entity/ Script.php - Get the JavaScript snippet for the entity.
File
- src/
Entity/ ScriptInterface.php, line 33
Class
- ScriptInterface
- Interface ScriptInterface.
Namespace
Drupal\script_manager\EntityCode
public function getSnippet();