public ImageToolkitInterface::setSource($source)
Sets the source path of the image file.
string $source: The source path of the image file.
\Drupal\Core\ImageToolkit\ImageToolkitInterface An instance of the current toolkit object.
\BadMethodCallException After being set initially, the source image cannot be changed.
public function setSource($source);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!ImageToolkit!ImageToolkitInterface.php/function/ImageToolkitInterface::setSource/8.1.x