SocialPostAlbumElementInfoManager.php in Open Social 10.1.x
Same filename and directory in other branches
- 10.3.x modules/social_features/social_post/modules/social_post_album/src/Service/SocialPostAlbumElementInfoManager.php
- 10.0.x modules/social_features/social_post/modules/social_post_album/src/Service/SocialPostAlbumElementInfoManager.php
- 10.2.x modules/social_features/social_post/modules/social_post_album/src/Service/SocialPostAlbumElementInfoManager.php
Namespace
Drupal\social_post_album\ServiceFile
modules/social_features/social_post/modules/social_post_album/src/Service/SocialPostAlbumElementInfoManager.phpView source
<?php
namespace Drupal\social_post_album\Service;
use Drupal\Core\Render\ElementInfoManager;
/**
* Provides an extended plugin manager for element plugins.
*/
class SocialPostAlbumElementInfoManager extends ElementInfoManager {
/**
* {@inheritdoc}
*/
public function getInfo($type) {
if ($type === 'managed_file') {
$type = 'social_post_album_managed_file';
}
return parent::getInfo($type);
}
}
Classes
Name | Description |
---|---|
SocialPostAlbumElementInfoManager | Provides an extended plugin manager for element plugins. |