Resource::$type

Same name and namespace in other branches
  1. 8.9.x core/modules/media/src/OEmbed/Resource.php \Drupal\media\OEmbed\Resource::type
  2. 10 core/modules/media/src/OEmbed/Resource.php \Drupal\media\OEmbed\Resource::type
  3. 11.x core/modules/media/src/OEmbed/Resource.php \Drupal\media\OEmbed\Resource::type

The resource type. Can be one of the static::TYPE_* constants.

Type: string

File

core/modules/media/src/OEmbed/Resource.php, line 58

Class

Resource
Value object representing an oEmbed resource.

Namespace

Drupal\media\OEmbed

Code

protected $type;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.