Creates an image resource from a file.
Parameters
object $image:
An image object. The $image->resource value will populated by this call.
Return value
bool
TRUE or FALSE, based on success.
See also
image_load()
File
- drupal/core/modules/system/lib/Drupal/system/Plugin/ImageToolkitInterface.php, line 121
- Contains \Drupal\system\Plugin\ImageToolkitInterface.
Class
- ImageToolkitInterface
- Defines an interface for image toolkits.
Namespace
Drupal\system\Plugin
Code
function load($image);